code: def is_domain_class_member_attribute(ent, attr_name):
      
      attr = get_domain_class_attribute(ent, attr_name)
      return attr.kind == RESOURCE_ATTRIBUTE_KINDS.MEMBER
docs: Checks if the given attribute name is a entity attribute of the given
      registered resource.