Change in ovirt-engine[master]: core: extract check for compensation context