public function has(string $key)
    {
        if (array_key_exists($key, $this->input)) {
            return true;
        }

        try {
            $this->find($this->input, $key);
            return true;
        } catch (\Exception $e) {
            return false;
        }
    }
public function has(string $key)
    {
        if (array_key_exists($key, $this->input)) {
            return true;
        }

        try {
            $this->find($this->input, $key);
            return true;
        } catch (\Exception $e) {
            return false;
        }
    }
public function has ( string $ key ) { if ( array_key_exists ( $ key , $ this -> input ) ) { return true ; } try { $ this -> find ( $ this -> input , $ key ) ; return true ; } catch ( \ Exception $ e ) { return false ; } }
Checks whether the dotted key exists
@method has
@param  string  $key
@return boolean
Checks whether the dotted key exists