def METHOD_NAME(tracksiter, track, artist_compilations=False):
    """
    Get any tracks from the given iterable that appear to be part of
    the same album as track. If track is in the iterable, it will be
    included in the result. If there is insufficient information to
    determine the album, the empty list will be returned, even if the
    track is in the iterable.
    """
    if not all(track.get_tag_raw(t) for t in ['artist', 'album']):
        return []
    matchers = [
        TracksMatcher(track.get_tag_search(t, artist_compilations=artist_compilations))
        for t in ('artist', 'album')
    ]
    return (r.track for r in search_tracks(tracksiter, matchers))