code: def apply_mask(d, mask, skip_keys=[]):
      data = d.clone()
      size_pos = len(data.pos)
      for k in data.keys:
          if size_pos == len(data[k]) and k not in skip_keys:
              data[k] = data[k][mask]
      return data
  
imports: import open3d
  import random
label_desc: Use image node_id 5 for calling a global function with example usage: apply_mask(d, mask, skip_keys) and returns: data