You can use the suspended() function.