code: def is_frozen(G):
      """Returns True if graph is frozen.
  
      Parameters
      ----------
      G : graph
        A NetworkX graph
  
      See Also
      --------
      freeze
      """
      try:
          return G.frozen
      except AttributeError:
          return False
  
imports: from collections import Counter
  from itertools import chain
  import networkx
  from networkx.utils import not_implemented_for, pairwise
label_desc: Use image node_id 12 for calling a global function with example usage: is_frozen(G) and returns: G, False