public function __isset($name)
    {
        try {
            return $this->$name !== null;
        } catch (MemberAccessException $e) {
            return false;
        } catch (LeanMapperException $e) {
            if ($this->isDetached() and $e->getCode() === Result::ERROR_MISSING_COLUMN) {
                return false;
            }
            throw $e;
        }
    }
public function __isset($name)
    {
        try {
            return $this->$name !== null;
        } catch (MemberAccessException $e) {
            return false;
        } catch (LeanMapperException $e) {
            if ($this->isDetached() and $e->getCode() === Result::ERROR_MISSING_COLUMN) {
                return false;
            }
            throw $e;
        }
    }
public function __isset ( $ name ) { try { return $ this -> $ name !== null ; } catch ( MemberAccessException $ e ) { return false ; } catch ( LeanMapperException $ e ) { if ( $ this -> isDetached ( ) and $ e -> getCode ( ) === Result :: ERROR_MISSING_COLUMN ) { return false ; } throw $ e ; } }
Tells whether given property exists and is not null

@param string $name
@throws LeanMapperException
@return bool
Tells whether given property exists and is not null