public function has($key)
 {
     return $this->currentroute->hasParameter($key);
 }