Hello
In joomla the current url could be a menu, a content or even k2 element, as an item or category.
For example in a menu could be add a k2 category, but you are view a menu, but when what you really see is a k2 item, it must be some function (that I can find) where tell you, this is an item k2 page or an k2 category page.
I hope I explain myself correctly.
Thanks in advance !