You can do it like this example:
Product’s Discontinued? yes/no :FormattedAsText is not yes

You will need to type the word yes in lowercase

If you can safely assume the field will not be empty anymore, then you don’t need that