parameters: (cls, mergeMethod)
docstring: Check that mergeMethod is valid
docstring_summary: Check that mergeMethod is valid
docstring_tokens: Check that mergeMethod is valid
function: def valid(cls, mergeMethod):
      """ Check that mergeMethod is valid """
      if mergeMethod not in (cls.WeightedAverage, cls.Average, cls.UseLarger):
        raise ValueError('unrecognized mergeMethod')
function_tokens: def valid ( cls , mergeMethod ) : if mergeMethod not in ( cls . WeightedAverage , cls . Average , cls . UseLarger ) : raise ValueError ( 'unrecognized mergeMethod' )