code: def is_resource_class_resource_attribute(rc, attr_name):
      
      attr = get_resource_class_attribute(rc, attr_name)
      return attr != RESOURCE_ATTRIBUTE_KINDS.TERMINAL
docs: Checks if the given attribute name is a resource attribute (i.e., either
      a member or a collection attribute) of the given registered resource.