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]);
  }
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]);
  }
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 ] ) ; }
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.
Checks whether a variable is set .