def __getattribute__(self, name):
<EOL>if name in ["<STR_LIT>", "<STR_LIT>"]:<EOL><INDENT>return object.__getattribute__(self, name)<EOL><DEDENT>stack = inspect.stack()<EOL>state = (not name.startswith("<STR_LIT:_>")) or (<EOL>inspect.getmodule(stack[<NUM_LIT:1>][<NUM_LIT:0>]).__name__ == __name__<EOL>and stack[<NUM_LIT:1>][<NUM_LIT:3>] in ["<STR_LIT>", "<STR_LIT>"]<EOL>)<EOL>if state:<EOL><INDENT>return object.__getattribute__(self, name)<EOL><DEDENT>return None<EOL>
Check if user can access this attribute.