public function isAvailable($moduleName) { return $this->isEnabled($moduleName) && $this->isAllowed($moduleName); }