def is_text_in_page?(content, flag=true)
      if flag
        assert page.has_content?("#{content}"), "Error: #{content} not found page !"
      else
        assert !page.has_content?("#{content}"), "Error: #{content} found in page !"
      end
    end
def is_text_in_page?(content, flag=true)
      if flag
        assert page.has_content?("#{content}"), "Error: #{content} not found page !"
      else
        assert !page.has_content?("#{content}"), "Error: #{content} found in page !"
      end
    end
Check that the text 'content' is on the page, set flag to check that it isn't