@contract
def threshold(threshold, utilization):
    if utilization:
        return utilization[-1] > threshold
    return False
The static CPU utilization threshold algorithm.
dataset/ETHPy150Open beloglazov/openstack-neat/neat/locals/overload/trivial.py/threshold