'Given an album ID or an item associated with an album, return
an :class:`Album` object for the album. If no such album exists,
returns `None`.'

def get_album(self, item_or_id):

    if isinstance(item_or_id, int):
        album_id = item_or_id
    else:
        album_id = item_or_id.album_id
    if (album_id is None):
        return None
    return self._get(Album, album_id)
