'Check whether an extra spec value matches something in the SSC.
The SSC values may be scalars or lists, so the extra spec value must be
compared to the SSC value if it is a scalar, or it must be sought in
the list.'

def _extra_spec_matches(self, extra_spec_value, ssc_flexvol_value):

    if isinstance(ssc_flexvol_value, list):
        return (extra_spec_value in ssc_flexvol_value)
    else:
        return (extra_spec_value == ssc_flexvol_value)
