public function checkIsOnAdmin(MvcEvent $e)
    {
        /** @var $matches \Zend\Mvc\Router\Http\RouteMatch */
        $matches = $e->getRouteMatch();
    	if (!$matches instanceof Router\RouteMatch){
            throw new \Exception('No Route Matched Found, Make sure for the event priority!');
    	}
    	
    	$matchedRouteName = $matches->getMatchedRouteName();
        if (($slashOcurr = strpos($matchedRouteName, '/')) !== false) {
            // we are on one of child roots of admin
            $matchedRouteName = substr($matchedRouteName, 0, $slashOcurr);
        }

    	if ($matchedRouteName !== \yimaAdminor\Module::ADMIN_ROUTE_NAME) {
            // we are not in admin route
    		return false;
    	}

        // set Share Services flag
        self::$isOnAdmin = true;

        return true;
    }