def is_in_line(to_keep, line):
    """
    Checks if any of the class names in to_keep are in the line
    :param to_keep: A list that holds the class names which the user wants to keep.
    :param line: A single line in the file that is currently being examined.
    :return: Returns True if a class name from to_keep is in the line. False otherwise.
    """
    for item in to_keep:
        if item in line:
            return True
    return False