code: def is_planar(graph):
      
      # Determine connected components as subgraphs; their planarity is independent of each other
      connected_components = get_connected_components_as_subgraphs(graph)
      for component in connected_components:
          # Biconnected components likewise have independent planarity
          biconnected_components = find_biconnected_components_as_subgraphs(component)
          for bi_component in biconnected_components:
              planarity = __is_subgraph_planar(bi_component)
              if not planarity:
                  return False
      return True
docs: Determines whether a graph is planar or not.