public function isMain() { $main = $this->configuration->getMain(); return empty($main) || strpos($this->getName(), $main) === 0; }