added behat function to check if a link is shown on a page