Returns

The high-level activation status of the supplied service

Example command

systemctl is-active failed.service

Example output

failed