public bool hasOption(string option) { object op; if (options.TryGetValue(option, out op) && (bool) op) return true; else return false; }