@property<EOL><INDENT>def type(self):<DEDENT>
<EOL>if self.args.args and self.args.args[<NUM_LIT:0>].name == "<STR_LIT>":<EOL><INDENT>if isinstance(self.parent.scope(), ClassDef):<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT><DEDENT>return "<STR_LIT>"<EOL>
Whether this is a method or function.

        :returns: 'method' if this is a method, 'function' otherwise.
        :rtype: str