Checks if the parser contains an option with the given key.
bool hasOptionWithKey(String key) { return options.entries.any((e) => e.key == key); }