if(!$query->param("blah")){ ... #do stuff here }