def str_to_list(data):
    """
    Converts a string delimited by \n and \t to a list of lists.
    :param data:
    :type data: str
    :return:
    :rtype: List[List[str]]
    """

    if isinstance(data, list):
        return data

    data = data.replace("'", '')

    try:
        if data[-1] == '\n':
            data = data[:-1]
    except IndexError:
        return

    tmp = data.split('\n')

    result = []

    for tmp_ in tmp:
        result.append(tmp_.split('\t'))

    return result