Returns true if the latest rendered view contains text.
true
text
bool text(String text) => Layout.stripAnsi(_tester._lastView).contains(text);