Android appium how to check the online or offline status of user in contacts listing

How to check the online/ offline / idle status of user in contacts listing by checking the green/ orange indication near every user.