def _in_class(self, node):
<EOL>indent = self._get_indent(node)<EOL>for indent_dict in reversed(self._indent_stack):  <EOL><INDENT>if (indent_dict["<STR_LIT>"] < indent) or (indent_dict["<STR_LIT:type>"] == "<STR_LIT>"):<EOL><INDENT>return indent_dict["<STR_LIT:type>"] == "<STR_LIT:class>"<EOL><DEDENT><DEDENT>
Find if callable is function or method.