app/repository/ArtistRepository.java
public boolean isVerifiedArtist(int artistId){
        return ebeanServer.find(Artist.class)
                .where()
                .eq("artist_id", artistId)
                .eq("verified", 1)
                .exists();
    }
/**
     * Db check to see if the given artist has be verified by an admin
     * @param artistId id of the artist used to check verification status
     * @return True if artist is verified
     */
Db check to see if the given artist has be verified by an admin
@param artistId id of the artist used to check verification status
@return True if artist is verified
Db check to see if the given artist has be verified by an admin @param artistId id of the artist used to check verification status @return True if artist is verified
public boolean isVerifiedArtist(int artistId){
        return ebeanServer.find(Artist.class)
                .where()
                .eq("artist_id", artistId)
                .eq("verified", 1)
                .exists();
    }
public boolean isVerifiedArtist ( int artistId ) { return ebeanServer . find ( Artist . class ) . where ( ) . eq ( "artist_id" , artistId ) . eq ( "verified" , 1 ) . exists ( ) ; }
Db check to see if the given artist has be verified by an admin
 @param artistId id of the artist used to check verification status
 @return True if artist is verified
Db check to see if the given artist has be verified by an admin @param artistId id of the artist used to check verification status @return True if artist is verified