class TrustyCms::Config

def boolean?


Returns true if the item key ends with '?' or the definition specifies :type => :boolean.
def boolean?
  definition.boolean? || key.ends_with?('?')
end