Check respond_to? for new added singleton method
class MyClass def MyClass.my_singleton_method end def my_instance_method end end p MyClass.respond_to? :my_singleton_method # => true