/** * Returns true if exchange compatible config option is set to true * * @param void * @return boolean */ static function getExchangeCompatible() { if (is_null(self::$exchange_compatible)) { self::$exchange_compatible = config_option('exchange_compatible', false); } // if return self::$exchange_compatible; }