Skip to main content
2 of 5
y is not a vowel

My vinyls have all caught colds!

I'm a big music fan, and I'm quite proud of my collection, but it seems some kind of sickness is going around the house, and all my vinyls have gotten quite ill. Can you help me find which ones have gotten sick, so I can quarantine them from the other ones?

Some of the albums, however, are false positives, and thus there is no point in quarantining them. An album is a false positive if:

  • "Ill" does not come at the beginning of all of the words it's featured in
  • A vowel besides "e" comes after the word "Ill" in all of the words it's featured in (y counts as a vowel)

Given an album name as a string, you must output a truthy value if the album truly is sick, and a falsy value if it is not. The input string does not have to be case-sensitive, so Illmatic would be just as valid as illmatic or ILLMATIC.

Test cases:

"Illmatic" -> True

"Licensed to Ill" -> True

"Ill Communication" -> True

"The Illest Villains" -> True

"Illumination of the Ill Man" -> True

"Madvillainy" -> False

"Music Inspired by Illumination & Dr. Seuss' The Grinch" -> False

"The Illyiad" -> False

"Villains are Illuminated" -> False

This is , so shortest answer wins!