def option?(name)
      local_options.any? { |_, v| v.name == name.to_sym }
    end
def option?(name)
      local_options.any? { |_, v| v.name == name.to_sym }
    end
Check if <name> is option

 @param [String, Symbol] name
   The name of the option