public static boolean hasKey(final ObjectNode node, final String key) {
    return node.has(key);
  }
Checks whether an {@code ObjectNode} contains the given key.

@param node The {@code ObjectNode} to inspect.
@param key The key to check.
@return Returns true if the given key is set.
config/src/main/java/org/hyperledger/besu/config/JsonUtil.java