public function isBrickEnabled($name) { if ($this->isCustomAreaPath()) { return true; } return ExtensionManager::isEnabled("brick", $name); }