def const_defined?(name,*inherit)
      if super(name,*inherit)
        true
      else
        # attempt to load the file that might have the constant
        require_file(OpenNamespace.const_path(name))

        # check for the constant again
        return super(name,*inherit)
      end
    end
def const_defined?(name,*inherit)
      if super(name,*inherit)
        true
      else
        # attempt to load the file that might have the constant
        require_file(OpenNamespace.const_path(name))

        # check for the constant again
        return super(name,*inherit)
      end
    end
Checks if a constant is defined or attempts loading the constant.

 @param [String] name
   The name of the constant.

 @param [Boolean] inherit
   Specifies whether to search the ancestors for the constant.

 @return [Boolean]
   Specifies whether the constant is defined.