def attribute_present?(name)
      attribute = read_raw_attribute(name)
      !attribute.blank? || attribute == false
    rescue ActiveModel::MissingAttributeError
      false
    end
def attribute_present?(name)
      attribute = read_raw_attribute(name)
      !attribute.blank? || attribute == false
    rescue ActiveModel::MissingAttributeError
      false
    end
Determine if an attribute is present.

 @example Is the attribute present?
   person.attribute_present?("title")

 @param [ String, Symbol ] name The name of the attribute.

 @return [ true, false ] True if present, false if not.

 @since 1.0.0