<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_notes(self, notes):
 """Remove notes from the containers. This function accepts a list of Note objects or notes as strings and also single strings or Note objects. """

        if type(notes) == str:
            return self.remove_note(notes)
        elif hasattr(notes, 'name'):
            return self.remove_note(notes)
        else:
            map(lambda x: self.remove_note(x), notes)
            return self.notes