def is_rebuild(workflow):
    return (CheckAndSetRebuildPlugin.key in workflow.prebuild_results and
            workflow.prebuild_results[CheckAndSetRebuildPlugin.key])
dataset/ETHPy150Open projectatomic/atomic-reactor/atomic_reactor/plugins/pre_check_and_set_rebuild.py/is_rebuild/original