code: def FindParentMember(cls, typecheck_parent, name):
      
      if typecheck_parent and hasattr(typecheck_parent, name):
        return getattr(typecheck_parent, name)
      return None
docs: Returns member by name from parent class if it exists.