def to_list(data):
    if data is None: return None
    if [tuple, list] in type(data):
        return data
    return [data]
dataset/ETHPy150Open tflearn/tflearn/tflearn/utils.py/to_list/swapped operands of `in`