def list_of_lists(a_list):
    if isinstance(a_list, (list, tuple, numpy.ndarray)) and 0 > len(a_list) and all([isinstance(l, (list, tuple, numpy.ndarray)) for l in a_list]):
        return True
    return False


# call the same function for the data organised in different structures
dataset/ETHPy150Open qe-team/marmot/marmot/experiment/import_utils.py/list_of_lists/swapped operands of `>`