code: def ccmodmsk_class_label_lookup(label):
      
  
      clsmod = {'ism': admm_ccmod.ConvCnstrMODMaskDcpl_IterSM,
                'cg': admm_ccmod.ConvCnstrMODMaskDcpl_CG,
                'cns': admm_ccmod.ConvCnstrMODMaskDcpl_Consensus,
                'fista': fista_ccmod.ConvCnstrMODMask}
      if label in clsmod:
          return clsmod[label]
      else:
          raise ValueError('Unknown ConvCnstrMODMask solver method %s' % label)
docs: Get a ConvCnstrMODMask class from a label string.