src/View/Helper/AuthHelper.php
public function urlAllowed($url) {
		if ($this->_viewAuth) {
			return $this->_viewAuth['AuthActions']->urlAllowed($this->user(), $url);
		}
		return false;
	}
public function urlAllowed($url) {
		if ($this->_viewAuth) {
			return $this->_viewAuth['AuthActions']->urlAllowed($this->user(), $url);
		}
		return false;
	}
Checks whether the URL is allowed for the currently logged in user

@param string|array $url url to check
@return bool