def is_in_list(element, the_list):
    """
    Prints boolean value of whether the element is in the list.

    * element can be a singleton value or a list of values.
    * the_list can be a single list or a list of lists.
    """
    return any([element in the_list]) or any([element in row for row in the_list])