docs: def has_enumerated_namespace_name(self, namespace: str, name: str) -> bool:
          """Check that the namespace is defined by an enumeration and that the name is a member."""
          return self.has_enumerated_namespace(namespace) and name in self.namespace_to_terms[namespace]