@Override
  public boolean anyMatch(final Predicate<ScheduledProtocolSpec> predicate) {
    return transitionUtils.dispatchFunctionAccordingToMergeState(
        schedule -> schedule.anyMatch(predicate));
  }
Gets the protocol spec by block header, with some additional logic used by backwards sync (BWS)

@param blockHeader the block header
@return the ProtocolSpec to be used by the provided block
consensus/merge/src/main/java/org/hyperledger/besu/consensus/merge/TransitionProtocolSchedule.java