public function isActive($path, $strict = false)
	{
		// Check if path is relative
		$pathData = parse_url($path);
		if ( ! empty($pathData['scheme'])
			|| ! empty($pathData['host'])
			|| ! empty($pathData['port'])
			|| ! empty($pathData['user'])
			|| ! empty($pathData['pass'])
		) {
			return false;
		}

		$path = $pathData['path'];

		$localization = $this->getPage();

		if ( ! $localization instanceof PageLocalization) {
			return false;
		}

		// Remove locale prefix
		$path = preg_replace(
			sprintf('#^(/?)%s(/|$)#', preg_quote($localization->getLocaleId())),
			'$1',
			$path
		);

		$checkPath = new Path($path);
		$currentPath = $localization->getPath();

		if ($currentPath === null) {
			return false;
		}

		return $strict
			? $checkPath->equals($currentPath)
			: $currentPath->startsWith($checkPath);
	}