docs: def _pathology_iterator(graph):
      """Iterate over edges in which either the source or target is a pathology node.
  
      :param pybel.BELGraph graph: A BEL graph
      :rtype: iter
      """
      for node in itt.chain.from_iterable(graph.edges()):
          if isinstance(node, Pathology):
              yield node