@contract
def threshold(threshold, utilization):
    if utilization:
        return utilization[-1] > threshold
    return False
Adds a toolbar to the dialog.
dataset/ETHPy150Open beloglazov/openstack-neat/neat/locals/overload/trivial.py/threshold--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/wx/ui_base.py/BaseDialog.add_toolbar