About comparison nodes

Perhaps this is what you are looking for, where your logical comparison happens in the Python Block show to run / freeze the subsequent designscript branches.