private function hasData($type, $key)
    {
        return isset($this->data[$type]) && isset($this->data[$type][$key]);
    }
private function hasData($type, $key)
    {
        return isset($this->data[$type]) && isset($this->data[$type][$key]);
    }
private function hasData ( $ type , $ key ) { return isset ( $ this -> data [ $ type ] ) && isset ( $ this -> data [ $ type ] [ $ key ] ) ; }
Check existence of specific type of data from specific key from response.

@param string $type
@param string $key

@return mixed
Check existence of specific type of data from specific key from response .