<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _sync_notes(self, notes_json):
 """"Populate the user's notes from a JSON encoded list."""

        for note_json in notes_json:
            note_id = note_json['id']
            task_id = note_json['item_id']
            if task_id not in self.tasks:
                # ignore orphan notes
                continue
            task = self.tasks[task_id]
            self.notes[note_id] = Note(note_json, task)