public function isConversationExists($userId) { if (empty($userId)) { return false; } $user = $this->getSerializeUser($this->authUserId, $userId); return $this->conversation->isExistsAmongTwoUsers($user['one'], $user['two']); }