implemented offsetExists in OptDict

Make it possible to verify existance of an option.

this way we can force user to specify a flag option (either with --no-
prefix or not)