public boolean hasLongOption(String opt)
    {
        opt = Util.stripLeadingHyphens(opt);

        return longOpts.containsKey(opt);
    }
public boolean hasLongOption ( String opt ) { opt = Util . stripLeadingHyphens ( opt ) ; return longOpts . containsKey ( opt ) ; }
Returns whether the named {@link Option} is a member of this {@link Options}.

@param opt long name of the {@link Option}
@return true if the named {@link Option} is a member of this {@link Options}
@since 1.3