code: def is_semieulerian(G):
      """Return True iff `G` is semi-Eulerian.
  
      G is semi-Eulerian if it has an Eulerian path but no Eulerian circuit.
  
      See Also
      --------
      has_eulerian_path
      is_eulerian
      """
      return has_eulerian_path(G) and not is_eulerian(G)
  
file_path: networkx/networkx/algorithms/euler.py
imports: from itertools import combinations
  import networkx
  from ..utils import arbitrary_element, not_implemented_for
label_desc: Use image node_id 2 for calling a global function with example usage: is_semieulerian(G) and returns: unknown