code: def get_mask(maskout_method, *args, **kwargs):
      mm = MaskoutMethod.make(maskout_method)
      return mm(*args, **kwargs)
  
file_path: magenta/magenta/models/coconet/lib_mask.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from magenta.models.coconet import lib_util
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: get_mask(maskout_method) and returns: mm