code: def _should_proxy(self, attr):
          
          if attr in type(self).__notproxied__:
              return False
          if _oga(self, "__notproxied__") is True:
              return False
          return True
docs: Determines whether `attr` should be looked up on the proxied object, or
          the proxy itself.