public function has($key)
    {
        return $this->params->has($key) || $this->payload->has($key);
    }
public function has($key)
    {
        return $this->params->has($key) || $this->payload->has($key);
    }
public function has ( $ key ) { return $ this -> params -> has ( $ key ) || $ this -> payload -> has ( $ key ) ; }
Returns whether has an input value by key.

@param $key
@return boolean
Returns whether has an input value by key .