def _is_notify_empty(notify_db):
    if not notify_db:
        return True
    return not (notify_db.on_complete or notify_db.on_success or notify_db.on_failure)
notify_db is considered to be empty if notify_db is None and neither
dataset/ETHPy150Open StackStorm/st2/st2common/st2common/services/action.py/_is_notify_empty