Tests whether the given key does not have to be quoted.
static bool canEncode(String key) => parser.end().accept(key);