Returns a predicate that returns true if the applied on view's text is equal to the given text. substring.
the predicate
the text to check