code: def isForward(op):
      return type(op) is Forward or type(op) is Forwards
  
imports: import math
  from abc import ABC
  from typing import List
  from torch.utils._pytree import tree_map
label_desc: Use image node_id 1 for calling a global function with example usage: isForward(op) and returns: unknown