Used in unit tests to determine if tests should be run

check_service()