Unify common code into is_class_seed.
Unify common code into is_class_seed.

FascinatedBox/lily,FascinatedBox/lily,jesserayadkins/lily,FascinatedBox/lily,FascinatedBox/lily,jesserayadkins/lily,jesserayadkins/lily