How does a client know if it is the room owner?

I noticed a callback function called 'onMasterClientChanged' but no way of finding out if you were a master client in the first place.

Does anyone know if there is a way of determining if a client is the room master client?