LMongo\Eloquent\Model::__isset PHP Method

__isset() public method

Determine if an attribute exists on the model.
public __isset ( string $key ) : void
$key string
return void
    public function __isset($key)
    {
        return isset($this->attributes[$key]) or isset($this->relations[$key]);
    }
Model