How can I tell if a Stack is idle or unused? My intention is to disable the Stack in this case by REST Service.