docs: def get_nodes(graph: BELGraph, node_predicates: NodePredicates) -> Set[BaseEntity]:
      """Get the set of all nodes that pass the predicates."""
      return set(filter_nodes(graph, node_predicates=node_predicates))