public static boolean isHeartBeatsRequest(final String request) {
    return PRIMUS_PING_REGEX.matcher(request).find();
  }
Checks if the given request is a heartbeat request.

@param request the request to check
@return true if the request is a heartbeat request, false otherwise
ethereum/ethstats/src/main/java/org/hyperledger/besu/ethstats/util/PrimusHeartBeatsHelper.java