public function isActivated($epId) { $access = $this->moduleStatuses[$epId]->access; return $access == 1 || $access == 2; }