code: def nodes_same(
      left_nodes: Sequence[GraphNode], right_nodes: Sequence[GraphNode]
  ) -> bool:
      left_set = set(map(lambda n: n.descriptive_id, left_nodes))
      right_set = set(map(lambda n: n.descriptive_id, right_nodes))
      return left_set == right_set and len(left_nodes) == len(
          right_nodes
      )
  
imports: from typing import List, Optional, Callable, Sequence
  from golem.core.dag.graph import Graph
  from golem.core.dag.graph_node import GraphNode
label_desc: Use image node_id 1 for calling a global function with example usage: nodes_same(left_nodes, right_nodes) and returns: unknown