public function has($keys)
    {
        $keys = is_array($keys) ? $keys : func_get_args();

        $results = $this->payload();

        foreach ($keys as $value) {
            if ($this->hasValueAtKey($value, $results) === false) {
                return false;
            }
        }
        return true;
    }
public function has($keys)
    {
        $keys = is_array($keys) ? $keys : func_get_args();

        $results = $this->payload();

        foreach ($keys as $value) {
            if ($this->hasValueAtKey($value, $results) === false) {
                return false;
            }
        }
        return true;
    }
public function has ( $ keys ) { $ keys = is_array ( $ keys ) ? $ keys : func_get_args ( ) ; $ results = $ this -> payload ( ) ; foreach ( $ keys as $ value ) { if ( $ this -> hasValueAtKey ( $ value , $ results ) === false ) { return false ; } } return true ; }
Determine if the payload contains a non-empty value for a given key.

@param  string|array $keys

@return bool
Determine if the payload contains a non - empty value for a given key .