public static boolean isValidType(final String ecCurve) {
    return SUPPORTED_ALGORITHMS.containsKey(ecCurve);
  }
Is valid type boolean.

@param ecCurve the ec curve
@return the boolean
crypto/algorithms/src/main/java/org/hyperledger/besu/crypto/SignatureAlgorithmType.java