def is_typed?(key, type)
      return (!validator.datas.has_key?(key) or validator.datas[key].kind_of?(type))
    end
def is_typed?(key, type)
      return (!validator.datas.has_key?(key) or validator.datas[key].kind_of?(type))
    end
Check if the value associated with the given key is typed with the given type, or with a type inheriting from it.
 @param [Object]   key the key of the value to check the type from.
 @param [Class]    type the type with which check the initial value.
 @return [Boolean] true if the initial value is from the right type, false if not.