function with or to check for text

behat function to check if one text or another text is shown.