This would enable the code to act on if something is shown. This could enable use cases like the one i'm currently working on:
I am building a frontend for domoticz (a home automation system). So when a device is shown in the menu as subtext or icon...