code: def is_layerchoice_node(ir_node: Optional[Node]) -> TypeGuard[Node]:
      if (
          ir_node is not None
          and isinstance(ir_node.operation, Cell)
          and ir_node.operation.parameters.get("mutation")
          == "layerchoice"
      ):
          return True
      else:
          return False
  
file_path: nni/nni/nas/space/pytorch/converter/utils.py
imports: from typing import Optional
  from typing_extensions import TypeGuard
  from nni.nas.space.graph import Cell, GraphModelSpace, Graph, Node, Edge
label_desc: Use image node_id 6 for calling a global function with example usage: is_layerchoice_node(ir_node) and returns: True, False