docs: def node_has_namespace(self, node: BaseEntity, namespace: str) -> bool:
          """Check if the node have the given namespace.
  
          This also should look in the equivalent nodes.
          """
          return any(
              self._node_has_namespace_helper(n, namespace)
              for n in self.iter_equivalent_nodes(node)
          )