def is_rails_console
      if instance_variable_defined?(k = :@is_rails_console)
        instance_variable_get(k)
      else
        instance_variable_set(k, conf.rails && conf.rails.const_defined?(:Console))
      end
    end
def is_rails_console
      if instance_variable_defined?(k = :@is_rails_console)
        instance_variable_get(k)
      else
        instance_variable_set(k, conf.rails && conf.rails.const_defined?(:Console))
      end
    end
<tt>true</tt> if running in Rails console.
 @return [Boolean]