Hi Stephen,
Yes, it's possible to check if the variable contains a piece of text. You're very close - using the "contains" action block, you just need to use your variable for the "text" parameter, and use the text you want to look for in the "piece" parameter. This screen shot shows a couple examples.
Let us know if that addresses your need.
Rob