Cleanup: Introduce isSuspended helper function
Subscribers: kdevelop-devel
Differential Revision: https://phabricator.kde.org/D8902