docs: def is_resource_class_member_attribute(rc, attr_name):
      """
      Checks if the given attribute name is a member attribute of the given
      registered resource.
      """
      attr = get_resource_class_attribute(rc, attr_name)
      return attr.kind == RESOURCE_ATTRIBUTE_KINDS.MEMBER