Good point.

I extracted the whole condition into a separate method. I can't think of a better name than `classExists()`. The name is stored in a variable which doesn't reflect what's stored in it either.