target_reflection_has_associated_record? refactoring