<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def all_equal(iterable):
 """Checks whether all items in an iterable are equal. Parameters iterable An iterable, e.g. a string og a list. Returns ------- boolean True or False. Examples ------- True False """

    if len(iterable) in [0, 1]:
        return False

    first = iterable[0]
    return all([first == i for i in iterable[1:]])