class ActiveModel::Type::Value

def serializable?(value)

parameter is some other object.
value parameter is a Ruby boolean, but may return +false+ if the value
by the database. For example a boolean type can return +true+ if the
Returns true if this type can convert +value+ to a type that is usable
def serializable?(value)
  true
end