public function isCategoryTop()
{
$url = $this->getHere();
$url = preg_replace('/^\\//', '', $url);
if (preg_match('/\\/$/', $url)) {
$url .= 'index';
}
if (preg_match('/\\/index$/', $url)) {
$param = explode('/', $url);
if (count($param) >= 2) {
return true;
}
}
return false;
}