def contains(small_list, big_list):
    """Checks if a list is contained in another list

    :param small_list: The smaller list
    :param big_list: The bigger list in which to find the smaller list
    :return: True if the small list is found inside the big list
    """
    if len(small_list) == 0:
        return False
    for i in iter(range(len(big_list) - len(small_list) + 1)):
        for j in iter(range(len(small_list))):
            if big_list[i + j] != small_list[j]:
                break
        else:
            return i, i + len(small_list)
    return False
