public static function isFoomanInstalled() { if (is_null(self::$_isFoomanInstalled)) { self::$_isFoomanInstalled = Mage::helper('core')->isModuleEnabled('Fooman_PdfCustomiser'); } return self::$_isFoomanInstalled; }