function Exists($sUid) { try { $oObj = StagePeer::retrieveByPk($sUid); return is_object($oObj) && get_class($oObj) == 'Stage'; } catch (Exception $oError) { throw $oError; } }