Defines the interface for a toggable toolbar item.
A method that takes a Tile object and returns a boolean that decides which toolbar item should be used in the toolbar. If it returns false, the toggleItem will be used. Otherwise, itself is used.
The toggled toobar item. When the condition method returns false, it will be used in the toolbar.