I would say that there is no point to check that class has association first, IMO that new check should be first.