public function __isset($name) {
        if ($name === 'level') {
            debugging('level property is deprecated, use edulevel property instead', DEBUG_DEVELOPER);
            return isset($this->data['edulevel']);
        }
        return isset($this->data[$name]);
    }
public function __isset($name) {
        if ($name === 'level') {
            debugging('level property is deprecated, use edulevel property instead', DEBUG_DEVELOPER);
            return isset($this->data['edulevel']);
        }
        return isset($this->data[$name]);
    }
public function __isset ( $ name ) { if ( $ name === 'level' ) { debugging ( 'level property is deprecated, use edulevel property instead' , DEBUG_DEVELOPER ) ; return isset ( $ this -> data [ 'edulevel' ] ) ; } return isset ( $ this -> data [ $ name ] ) ; }
Is data property set?

@param string $name
@return bool
Is data property set?