check the condition guard