original_string: public function __isset($name) {
      if ($this->isASleepingReference) {
        $this->referenceWake();
      }
      if ($name === 'guid'
          || $name === 'cdate'
          || $name === 'mdate'
          || $name === 'tags'
        ) {
        return isset($this->$name);
      }
      // Unserialize.
      if (isset($this->sdata[$name])) {
        $this->data[$name] = unserialize($this->sdata[$name]);
        unset($this->sdata[$name]);
      }
      return isset($this->data[$name]);
    }
code: public function __isset($name) {
      if ($this->isASleepingReference) {
        $this->referenceWake();
      }
      if ($name === 'guid'
          || $name === 'cdate'
          || $name === 'mdate'
          || $name === 'tags'
        ) {
        return isset($this->$name);
      }
      // Unserialize.
      if (isset($this->sdata[$name])) {
        $this->data[$name] = unserialize($this->sdata[$name]);
        unset($this->sdata[$name]);
      }
      return isset($this->data[$name]);
    }
code_tokens: public function __isset ( $ name ) { if ( $ this -> isASleepingReference ) { $ this -> referenceWake ( ) ; } if ( $ name === 'guid' || $ name === 'cdate' || $ name === 'mdate' || $ name === 'tags' ) { return isset ( $ this -> $ name ) ; } // Unserialize. if ( isset ( $ this -> sdata [ $ name ] ) ) { $ this -> data [ $ name ] = unserialize ( $ this -> sdata [ $ name ] ) ; unset ( $ this -> sdata [ $ name ] ) ; } return isset ( $ this -> data [ $ name ] ) ; }
docstring: Checks whether a variable is set.
  
  You do not need to explicitly call this method. It is called by PHP when
  you access the variable normally.
  
  @param string $name The name of the variable.
  @return bool
  @todo Check that a referenced entity has not been deleted.
docstring_tokens: Checks whether a variable is set .