def analyse(somedata):
    analysis_functions = [best, okay, poor]
for f in analysis_functions:
    result = f(somedata)
if result:
    break
else:
    return None
return result
How can I call a sequence of functions until the return value meets some condition?