private function isUserMessage()
    {
        if (!empty($this->message) && isset($this->message['metadata'])) {
            return $this->message['metadata'] != 'SENT_BY_GIGA_AI';
        }

        return true;
    }