src/pybel/struct/graph.py
def _node_has_namespace_helper(node: BaseEntity, namespace: str) -> bool:
        """Check that the node has namespace information.

        Might have cross references in future.
        """
        return isinstance(node, BaseConcept) and node.namespace.lower() == namespace.lower()
Check that the node has namespace information.

        Might have cross references in future.
        
Check that the node has namespace information.
Might have cross references in future.
Check that the node has namespace information . Might have cross references in future .
def _node_has_namespace_helper(node: BaseEntity, namespace: str) -> bool:
        return isinstance(node, BaseConcept) and node.namespace.lower() == namespace.lower()
def _node_has_namespace_helper ( node : BaseEntity , namespace : str ) -> bool : return isinstance ( node , BaseConcept ) and node . namespace . lower ( ) == namespace . lower ( )
Check that the node has namespace information.
Check that the node has namespace information .
"""Check that the node has namespace information.

        Might have cross references in future.
        """
node
BaseEntity
namespace
str