public function isAuthenticUser($conversationId, $userId)
    {
        if ($conversationId && $userId) {
            return $this->conversation->isUserExists($conversationId, $userId);
        }

        return false;
    }
public function isAuthenticUser($conversationId, $userId)
    {
        if ($conversationId && $userId) {
            return $this->conversation->isUserExists($conversationId, $userId);
        }

        return false;
    }
public function isAuthenticUser ( $ conversationId , $ userId ) { if ( $ conversationId && $ userId ) { return $ this -> conversation -> isUserExists ( $ conversationId , $ userId ) ; } return false ; }
check the given user exist for the given conversation.

@param int $conversationId
@param int $userId

@return bool
check the given user exist for the given conversation .