Test: cts: service counts as enabled only if it's explicitly enabled
With "systemctl is-enabled", we should check if the service is
explicitly "enabled" instead of the return code. For example it returns
0 if the service is "static" or "indirect", but they don't really count
as "enabled".
This also functionizes the check part for further use.