Use Python API to get slave idle time?