You can check substrings in velocity by this:
#set ($url = $themeDisplay.getURLCurrent())
#if($url.contains("&empName=ABC"))
The url contains the string <b>&empName=ABC<b>
#else
The url does not contain the string <b>&empName=ABC</b>
#end
If you want to check for request parameter existance prior to check its content:
#set($empName = $request.getParameter("empName"))
#if (!$empName)
<h1>Parameter not found</h1>
#else
<h1>Parameter found: $empName</h1>
#end`
Tested in Liferay 6.1.1 ce ga2