/** * Verify if exists the Message-Event-Relation * * @param string $messageEventRelationUid Unique id of Message-Event-Relation * * return bool Return true if exists the Message-Event-Relation, false otherwise */ public function exists($messageEventRelationUid) { try { $obj = \MessageEventRelationPeer::retrieveByPK($messageEventRelationUid); return !is_null($obj) ? true : false; } catch (\Exception $e) { throw $e; } }