Check if Order Tag in Warehouse available

Hi, I will create a Rule if I Click to add an Order Tag for example Pommes. The roule should check if Pommes in the warehouse is available. How can I check this?