src/pybel/struct/graph.py
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)
        )
Check if the node have the given namespace.

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

        This also should look in the equivalent nodes.
        """
self
node
BaseEntity
namespace
str