@staticmethod<EOL><INDENT>def is_variable(tup):<DEDENT>
name, item = tup<EOL>if callable(item):<EOL><INDENT>return False<EOL><DEDENT>if isinstance(item, types.ModuleType):<EOL><INDENT>return False<EOL><DEDENT>if name.startswith("<STR_LIT:_>"):<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Takes (name, object) tuple, returns True if it is a variable.