Helper/SiteAccess.php
private function isMandatorIdConfigured($mandatorId)
    {
        return in_array($this->defaultSiteAccessName, $this->siteAccessConfig)
            && $this->siteAccessConfig[$this->defaultSiteAccessName]['yoochoose']['customer_id'] == $mandatorId;
    }
private function isMandatorIdConfigured($mandatorId)
    {
        return in_array($this->defaultSiteAccessName, $this->siteAccessConfig)
            && $this->siteAccessConfig[$this->defaultSiteAccessName]['yoochoose']['customer_id'] == $mandatorId;
    }
private function isMandatorIdConfigured ( $ mandatorId ) { return in_array ( $ this -> defaultSiteAccessName , $ this -> siteAccessConfig ) && $ this -> siteAccessConfig [ $ this -> defaultSiteAccessName ] [ 'yoochoose' ] [ 'customer_id' ] == $ mandatorId ; }
Checks if mandatorId is configured with default siteAccess.

@param int $mandatorId

@return bool
Checks if mandatorId is configured with default siteAccess .