Validating two variables (nested conditionals?)

Is it possible right now to check for two conditions to run an action? I.e. If a=1 and b=1 then do action

Thanks

Yes, of course, you can write such a condition.

This is a completely valid condition to write in the condition field:

if a == 1 and b == 1