@classmethod<EOL><INDENT>def method_exists(cls, method):<DEDENT>
methods = cls.API_METHODS<EOL>for key in method.split('<STR_LIT:.>'):<EOL><INDENT>methods = methods.get(key)<EOL>if methods is None:<EOL><INDENT>break<EOL><DEDENT><DEDENT>if isinstance(methods, str):<EOL><INDENT>logger.debug('<STR_LIT>', method, methods)<EOL>return True<EOL><DEDENT>return False<EOL>
Whether a given method exists in the known API.

        Arguments:
          method (:py:class:`str`): The name of the method.

        Returns:
          :py:class:`bool`: Whether the method is in the known API.