@Override
  protected boolean mineBlock() throws InterruptedException {
    if (CliqueHelpers.addressIsAllowedToProduceNextBlock(
        localAddress, protocolContext, parentHeader)) {
      return super.mineBlock();
    }

    return true; // terminate mining.
  }
Instantiates a new Clique block miner.

@param blockCreator the block creator
@param protocolSchedule the protocol schedule
@param protocolContext the protocol context
@param observers the observers
@param scheduler the scheduler
@param parentHeader the parent header
@param localAddress the local address
@param forksSchedule the transitions
consensus/clique/src/main/java/org/hyperledger/besu/consensus/clique/blockcreation/CliqueBlockMiner.java