If value in Widget

Your still not using code fences
This is important

Yes that should work