public boolean containsOption(String opt){
            if (opt == null) return false;
            for (String tmp : options) {
                if (opt.equals(tmp)) return true;
            }
            return false;
        }