def set?(arg, *rest_args)
      if arg.kind_of?(Hash)
        arg.each { |k, v| set(k, v) unless set?(k) }
        nil
      elsif rest_args.size > 0
        set(arg, rest_args.first) unless set?(arg)
        true
      else
        options_storage.has_key?(arg)
      end
    end
def set?(arg, *rest_args)
      if arg.kind_of?(Hash)
        arg.each { |k, v| set(k, v) unless set?(k) }
        nil
      elsif rest_args.size > 0
        set(arg, rest_args.first) unless set?(arg)
        true
      else
        options_storage.has_key?(arg)
      end
    end
Checks if option is set.
 Works similar to set if value passed but sets only uninitialized options.