public boolean hasFork() {
    return daggerOptions.provideFork().isPresent();
  }
Checks if a fork is provided in the Dagger options.

@return True if a fork is provided, false otherwise.
ethereum/evmtool/src/main/java/org/hyperledger/besu/evmtool/EvmToolCommand.java