code: public static boolean isConfigTrue(GrailsApplication application, String propertyName) {
          return application.getConfig().getProperty(propertyName, Boolean.class, false);
      }
docs: Checks if a Config parameter is true or a System property with the same name is true
  
  @param application
  @param propertyName
  @return true if the Config parameter is true or the System property with the same name is true