code: def calculate_fwd_in(n: Node) -> bool:
      """A helper function to calculate `fwd_in`
  
      Args:
          n (Node): a node from the graph
  
      Returns:
          save_fwd_in (bool): the result of `save_fwd_in`
      """
      return n.meta["save_fwd_in"]
  
imports: from torch.fx import Node
  from ..._compatibility import compatibility
label_desc: Use image node_id 1 for calling a global function with example usage: calculate_fwd_in(n) and returns: n