checkIfResourceCanPreempt() removed as not used any more
clean in operators and machines