docs: def FindTypecheckParent(cls, parents):
      """Find parent class that uses this metaclass."""
      for parent in parents:
        if hasattr(parent, "__metaclass__") and parent.__metaclass__ == cls:
          return parent
      return None