def is_list_of_lists(x):
    """Determines if a variable is of type list of lists.
    """
    if type(x) is list:
        if len(x) > 0:
            if type(x[0]) is list:
                return True
    return False