private JsonRpcIpcConfiguration jsonRpcIpcConfiguration(
      final Boolean enabled, final Path ipcPath, final List<String> rpcIpcApis) {
    final Path actualPath;
    if (ipcPath == null) {
      actualPath = IpcOptions.getDefaultPath(dataDir());
    } else {
      actualPath = ipcPath;
    }
    return new JsonRpcIpcConfiguration(
        vertx.isNativeTransportEnabled() && enabled, actualPath, rpcIpcApis);
  }
Returns a network interface checker that can be used to validate P2P options.

@return A {@link P2PDiscoveryOptions.NetworkInterfaceChecker} that checks if a network
    interface is available.
app/src/main/java/org/hyperledger/besu/cli/BesuCommand.java