public function isUrl($url, $isRegex = false)
    {
        if ($isRegex) {
            return preg_match('#^'.$url.'$#', $this->getFullUrl()) === 1;
        }

        return $this->getFullUrl() == $url;
    }