Check if some shop selection page must be shown

@return bool
541241
protected function isStartClassRequired()
    {
        $baseLanguage = \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage();
        $shopConfig = $this->getConfig();
        $isSeoActive = \OxidEsales\Eshop\Core\Registry::getUtils()->seoIsActive();

        return $isSeoActive && ($baseLanguage != $shopConfig->getConfigParam('sDefaultLang'));
    }
1046705
public function isValidForCurrentPortal()
    {
        $aPortalIdList = $this->getShopShippingTypeDataAccess()->getPermittedPortalIds($this->id);
        if (!is_array($aPortalIdList) || count($aPortalIdList) < 1) {
            $bIsValidForPortal = true;
        } else {
            $oActivePortal = $this->getPortalDomainService()->getActivePortal();
            if (null === $oActivePortal) {
                $bIsValidForPortal = false;
            } else {
                $bIsValidForPortal = in_array($oActivePortal->id, $aPortalIdList);
            }
        }

        return $bIsValidForPortal;
    }
1112945
public function isAllowed()
    {
        /** @var \Magento\Framework\App\Request\Http $req */
        $req = $this->context->getRequest();

        if ($this->legacyContext->getAppState()->getAreaCode() !== FrontNameResolver::AREA_CODE
            && !$req->isAjax()
            && $this->sgConfig->isValid()
        ) {
            return true;
        }

        return false;
    }
23358
public function has_items() {
        if ($this->duringinstall) {
            return false;
        } else if ($this->hasitems !== false) {
            return true;
        }
        if (count($this->children) > 0 || count($this->prependchildren) > 0) {
            // There have been manually added items - there are definitely items.
            $outcome = true;
        } else if (!$this->ignoreactive) {
            // We will need to initialise the navigation structure to check if there are active items.
            $this->page->navigation->initialise($this->page);
            $outcome = ($this->page->navigation->contains_active_node() || $this->page->settingsnav->contains_active_node());
        }
        $this->hasitems = $outcome;
        return $outcome;
    }
895814
protected function _isDemoShop()
    {
        $blDemoMode = false;

        if (\OxidEsales\Eshop\Core\Registry::getConfig()->isDemoShop()) {
            $blDemoMode = true;
        }

        return $blDemoMode;
    }
1067766
protected function isPageStandard(Page $page)
    {
        $result = false;
        if (!$page->isError() && !$page->isSystemPage() && !$page->isExternalLink() && !$page->isMasterCollection() && !$page->isInTrash()) {
            if (!$this->getDashboardHelper()->inDashboard($page)) {
                $result = true;
            }
        }

        return $result;
    }
819468
public static function checkBrowserIceweasel()
    {
        if (stripos(self::$userAgentString, 'Iceweasel') !== false) {
            $aresult = explode('/', stristr(self::$userAgentString, 'Iceweasel'));
            if (isset($aresult[1])) {
                $aversion = explode(' ', $aresult[1]);
                self::$browser->setVersion($aversion[0]);
            }
            self::$browser->setName(Browser::ICEWEASEL);

            return true;
        }

        return false;
    }
1200364
protected function shouldOutput()
    {
        global $current_screen;

        $options = get_option('modularity-options');
        $enabled = isset($options['enabled-post-types']) && is_array($options['enabled-post-types']) ? $options['enabled-post-types'] : array();

        $validPostType = in_array($current_screen->id, $enabled);

        $action = $current_screen->action;
        if (empty($action)) {
            $action = (isset($_GET['action']) && !empty($_GET['action'])) ? $_GET['action'] : null;
        }

        $validAction = in_array($action, array(
            'add',
            'edit'
        ));

        return ($validPostType && $validAction) || $current_screen->id == 'admin_page_modularity-editor';
    }
74807
public function canIncludePageInSitemap(Page $page)
    {
        $result = false;
        if ($this->isPageStandard($page)) {
            if ($this->isPagePublished($page)) {
                if (!$this->isPageExcludedFromSitemap($page)) {
                    if ($this->isPageAccessible($page)) {
                        $result = true;
                    }
                }
            }
        }

        return $result;
    }
1122957
private function _enablePage()
	{
		if ( $this->test )
		{
			return true;
		}
		$enabled_source =  $this->_getEnablingCode(). $this->_getFileContent();

		return file_put_contents( $this->_root_page_path, $enabled_source );
	}
139870
public function isDemoShop()
    {
        if ($this->_blDemoShop == null) {
            $this->_blDemoShop = \OxidEsales\Eshop\Core\Registry::getConfig()->isDemoShop();
        }

        return $this->_blDemoShop;
    }
313585
public function canBrowse()
    {
        $viewer = get_viewer();

        if ($viewer->admin() || $viewer->eql($this->actor)) {
            return true;
        }

        return false;
    }
1215993
public function isSection()
    {
        $is_curr = $this->isCurrent();
        $curr = Director::get_current_page();

        return $is_curr || (
            ($curr instanceof CatalogueCategory || $curr instanceof CatalogueProduct) && in_array($this->owner->ID, $curr->getAncestors()->column())
        );
    }
853839
public function isSelected()
  {
    if (Navigation::clearQueryArg(Request::getArgumentValue('q')) == Navigation::clearQueryArg($this->urlCode)) {
      return true;
    }
    return false;
  }
595237
protected boolean checkVisible() {

        return getHoverbar().getController().isEditable()
            && !CmsSitemapView.getInstance().isModelPageMode()
            && (!CmsSitemapView.getInstance().isGalleryMode() || getHoverbar().getController().getData().isGalleryManager());
    }
433654
protected function isWildCardSelection()
    {
        return (count($this->operation->getAttributes()) === 1 && ($this->operation->getAttributes()[0] == '*' || $this->operation->getAttributes()[0] == '**'));
    }
1030076
private function isCurrentlyLastPage()
    {
        if ($this->page_number_type === 'start_num') {
            if ($this->page_number_value >= ($this->total_pages*$this->items_per_page)-$this->items_per_page) {
                return true;
            }
            return false;
        } elseif ($this->page_number_type === 'page_num') {
            if ($this->page_number_value >= $this->total_pages) {
                return true;
            }
            return false;
        }
        return false;
    }