ads' corner

Does an openHAB Item exist?

In a more complex openHAB2 Rule I'm writing, I need to find out if a certain Item exist. If I try to access it when it does not exist, the Rule will fail. Not good. I could pass in a parameter to the framework which builds the Rule, but that is cumbersome and requires changes on several places. Let's see if I can have the Rule figure this out.