It's known that you shouldn't guide yourself after the online presence reported by Viber. They said you should't guide on how the application shows the online presence time. The best way is to simply type a message and send it. If you don't receive a response for a prolonged time, then it's possible the person using Viber isn't active anymore.