Return if method has been defined