lib/redis-model-extension/validation.rb
def valid_key? args = {}
      #normalize input hash of arguments
      args = HashWithIndifferentAccess.new(args)

      redis_key_config.each do |key|
        return false unless valid_item_for_redis_key? args, key
      end
      return true
    end
def valid_key? args = {}
      #normalize input hash of arguments
      args = HashWithIndifferentAccess.new(args)

      redis_key_config.each do |key|
        return false unless valid_item_for_redis_key? args, key
      end
      return true
    end
Validates if key by arguments is valid
 (all needed fields are not nil!)