def contains?(key, values, required_values)
      raise_error(type: "contains.values", required: required_values, key: key) if (values & required_values) != required_values
    end
def contains?(key, values, required_values)
      raise_error(type: "contains.values", required: required_values, key: key) if (values & required_values) != required_values
    end
Checks if the value associated with the given key has the given required values.
 @param [Object] key the key associated with the value to check.
 @param [Array]  required_values the values that the initial Enumerable typed value should contain.
 @raise [ArgumentError] if the initial value has not each and every one of the given values.