code: def is_hand_written(
      g: Union[NativeFunctionsGroup, NativeFunctionsViewGroup]
  ) -> bool:
      name_base = func_name_base_str(g)
      return name_base in is_hand_written_ops_
  
imports: from typing import Dict, Union
  from torchgen.model import NativeFunctionsGroup, NativeFunctionsViewGroup
label_desc: Use image node_id 2 for calling a global function with example usage: is_hand_written(g) and returns: unknown