def lookupMethod(self, command):
        """

        @param command: The command to get from this class.
        @type command: L{str}
        @return: The function which executes this command.
        """
        if not isinstance(command, str):
            command = nativeString(command)

        return getattr(self, 'do_' + command.upper(), None)


        @param command: The command to get from this class.
        @type command: L{str}
        @return: The function which executes this command.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/mail/smtp.py