Whether the dictionary contains a pattern.
bool containsPattern(String pattern) => _encodeMap.containsKey(pattern);