djdb/search.py
def _artist_has_reviewed_album(artist, user_key):
    """Check if an artist has an album that has been reviewed.

    Args:
      artist: An Artist entity.
      user_key: A stringified user key, or None.

    Returns:
      True if _album_is_reviewed(album, user_key) is True for any
      album by that artist, False otherwise.
    """
    artist_album_query = models.Album.all().filter(
        "album_artist =", artist)
    for album in artist_album_query:
        if _album_is_reviewed(album, user_key):
            return True
    return False
Check if an artist has an album that has been reviewed.

    Args:
      artist: An Artist entity.
      user_key: A stringified user key, or None.

    Returns:
      True if _album_is_reviewed(album, user_key) is True for any
      album by that artist, False otherwise.
    
Check if an artist has an album that has been reviewed.
Check if an artist has an album that has been reviewed .
def _artist_has_reviewed_album(artist, user_key):
    artist_album_query = models.Album.all().filter(
        "album_artist =", artist)
    for album in artist_album_query:
        if _album_is_reviewed(album, user_key):
            return True
    return False
def _artist_has_reviewed_album ( artist , user_key ) : artist_album_query = models . Album . all ( ) . filter ( "album_artist =" , artist ) for album in artist_album_query : if _album_is_reviewed ( album , user_key ) : return True return False
Check if an artist has an album that has been reviewed.
Check if an artist has an album that has been reviewed .
"""Check if an artist has an album that has been reviewed.

    Args:
      artist: An Artist entity.
      user_key: A stringified user key, or None.

    Returns:
      True if _album_is_reviewed(album, user_key) is True for any
      album by that artist, False otherwise.
    """
True if _album_is_reviewed(album, user_key) is True for any
album by that artist, False otherwise.
True if _album_is_reviewed ( album user_key ) is True for any album by that artist False otherwise .
artist
An Artist entity.
An Artist entity .
user_key
A stringified user key, or None.
A stringified user key or None .