The hacluster tests assume that all the subordinates are hacluster. However, with mysql8 there is a mysql-router subordinate as well, and it doesn't support the clean-up action. This change ensures that the tests checks that the subordinate IS hacluter prior to applying the action/test.