@VisibleForTesting
  void checkRequiredNativeLibraries(final NetworkName configuredNetwork) {
    if (configuredNetwork == null) {
      return;
    }

    // assert native library requirements for named networks:
    List<NativeRequirementResult> failedNativeReqs =
        configuredNetwork.getNativeRequirements().stream().filter(r -> !r.present()).toList();

    if (!failedNativeReqs.isEmpty()) {
      String failures =
          failedNativeReqs.stream()
              .map(r -> r.libname() + " " + r.errorMessage())
              .collect(Collectors.joining("\n\t"));
      throw new UnsupportedOperationException(
          String.format(
              "Failed to load required native libraries for network %s. "
                  + "Verify whether your platform %s and arch %s are supported by besu. "
                  + "Failures loading: \n%s",
              configuredNetwork.name(),
              System.getProperty("os.name"),
              System.getProperty("os.arch"),
              failures));
    }
  }
Logging in Color enabled or not.

@return Optional true or false representing logging color is enabled. Empty if not set.
app/src/main/java/org/hyperledger/besu/cli/BesuCommand.java