def add_note(self, note):
        if type(note) == str:
            return self.update_note({"content": note})
        elif (type(note) == dict) and "content" in note:
            return self.update_note(note)
        else:
            return "No string or valid note.", -1
wrapper function to add a note
dataset/ETHPy150Open cpbotha/nvpy/nvpy/simplenote.py/Simplenote.add_note