machine internal method ifCanDisposeOrHaveFailure updated to a more generic version. This way MachineJobShop also does not have to override it