Check that class have connection

observed_class_inherited is sending class that breaks this code