public function isPageContextRegion($region, $theme)
    {
        $regions = $this->getThemeRegionConfig($theme);
        return (isset($regions[$region]) && ($regions[$region] === self::CONTEXT_PAGE));
    }
public function isPageContextRegion($region, $theme)
    {
        $regions = $this->getThemeRegionConfig($theme);
        return (isset($regions[$region]) && ($regions[$region] === self::CONTEXT_PAGE));
    }
public function isPageContextRegion ( $ region , $ theme ) { $ regions = $ this -> getThemeRegionConfig ( $ theme ) ; return ( isset ( $ regions [ $ region ] ) && ( $ regions [ $ region ] === self :: CONTEXT_PAGE ) ) ; }
Does the given region belong to the page context?

@param string $region Region key
@param string $theme Theme key

@return boolean
Does the given region belong to the page context?