original_string: public function has($key)
      {
          if (\array_key_exists($key, $this->data)) {
              return true;
          }
  
          if (null === $this->parent) {
              return false;
          }
  
          return $this->parent->has($key);
      }
code: public function has($key)
      {
          if (\array_key_exists($key, $this->data)) {
              return true;
          }
  
          if (null === $this->parent) {
              return false;
          }
  
          return $this->parent->has($key);
      }
code_tokens: public function has ( $ key ) { if ( \ array_key_exists ( $ key , $ this -> data ) ) { return true ; } if ( null === $ this -> parent ) { return false ; } return $ this -> parent -> has ( $ key ) ; }
docstring: Tests if a data is visible from current scope.
  
  @param string $key
  
  @return bool
docstring_tokens: Tests if a data is visible from current scope .