def classify(condition, label):
    satisfied = condition() if callable(condition) else bool(condition)
    return Tag(label) if satisfied else None
Test DialogDisplay() with buttons arg.
dataset/ETHPy150Open Xion/pyqcy/pyqcy/statistics.py/classify--crossover with--dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/applescript_test.py/AppleScriptRunnerTest.testDialogDisplayWithButtons