refactored is_artist_valid? method