def is_note_different(self, note):

        if self.get_text() != note.get('content'):
            return True

        tags = note.get('tags', [])
        
        # get list of string tags from ui
        tag_elements = self.note_existing_tags_frame.children.values() 
        ui_tags = [element['text'].replace(' x', '') for element in tag_elements]

        if sorted(ui_tags) != sorted(tags):
            return True

        if bool(self.pinned_checkbutton_var.get()) != bool(utils.note_pinned(note)):
            return True
If the underlying socket is closed, :py:obj:`Connection.shutdown` propagates the
dataset/ETHPy150Open cpbotha/nvpy/nvpy/view.py/View.is_note_different--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pyopenssl/OpenSSL/test/test_ssl.py/ConnectionTests.test_shutdown_closed