code: def _metaclass_lookup_attribute(self, name, context):
          
          attrs = set()
          implicit_meta = self.implicit_metaclass()
          metaclass = self.metaclass()
          for cls in {implicit_meta, metaclass}:
              if cls and cls != self and isinstance(cls, ClassDef):
                  cls_attributes = self._get_attribute_from_metaclass(cls, name, context)
                  attrs.update(set(cls_attributes))
          return attrs
docs: Search the given name in the implicit and the explicit metaclass.