It was checking if acs-automated-testing package was enabled. I guess that is one way to do it, but the parameter enabled_p exists in acs-automated-testing so checking it seems a reasonable thing to do.