code: public Phrase putOptional(String key, CharSequence value) {
      return keys.contains(key) ? put(key, value) : this;
    }
docs: Silently ignored if the key is not in the pattern.
  
  @see #put(String, CharSequence)