replace AtermHelper#hasConnection to AtermHelper#isActive.