Can I check whether conference destroyed or not? It's possible?

Is it possible to check the last one leave conference (close tab or press hangup button)?

From the commandline

egrep -o "(Created|Disposed).*count[^,]*" /var/log/jitsi/jicofo.log

or

egrep -o "(Created|Disposed).*count[^,]*" /var/log/jitsi/jicofo.log | grep ROOM_NAME

Can I write something in code to check instead run command line?