

@classmethod
def recognizes(cls, params):
    if isinstance(params, six.string_types):
        return False
    try:
        return all((isinstance(p, six.string_types) for p in params))
    except TypeError:
        return False

dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py ChoiceElement.recognizes/original