public void validate(
      final CommandLine commandLine, final NetworkInterfaceChecker networkInterfaceChecker) {
    validateP2PHost(commandLine);
    validateP2PInterface(commandLine, networkInterfaceChecker);
  }
Validates the provided P2P discovery options.

@param commandLine The command line object used for parsing and error reporting.
@param networkInterfaceChecker The checker used to validate the network interface.
app/src/main/java/org/hyperledger/besu/cli/options/P2PDiscoveryOptions.java