In Geometry Nodes, I connect a the material socket of a 'Set Material' node to the 'Group Input' node.
Now, when the material socket in the modifier panel is empty, I want to use this fact to activate a switch node. For example, I want to trigger an 'Index Switch (material)' node to apply a different material.
How can I detect when the material socket is empty and convert that into a boolean?