code: def _maybe_get_mask(a):
      if is_masked_tensor(a):
          return a.get_mask()
      return None
  
imports: import warnings
  import torch
  from torch.overrides import get_default_nowrap_functions
label_desc: Use image node_id 8 for calling a global function with example usage: _maybe_get_mask(a) and returns: None, a