def METHOD_NAME(self, track_id):
    for song in self.values():
        if song.track_id == track_id:
            return song
    raise KeyError("No track with id %s. Do have %s"
                   % (track_id, [s.track_id for s in self.values()]))