human
I wrote the below code

    def isSorted(collection):
        if (len(collection) < 2):
            return True
        for i in range((len(collection) - 1)):
            if (collection[i] > collection[(i + 1)]):
                return False
        return True
    while (not isSorted(collection)):
        random.shuffle(collection)
    return collection

What's a good function header?

=====
Here's a good function header?
assistant
#Here's a good function header.

def bogosort(collection):