'Checks that MathJax Preview css class is present'

def verify_mathjax_preview_available(self):

    self.wait_for((lambda : ((len(self.q(css='.MathJax_Preview').text) > 0) and (self.q(css='.MathJax_Preview').text[0] == ''))), description='MathJax    Preview    is    rendered')
