'Check that MathJax has rendered in tab content'

def mathjax_has_rendered(self):

    mathjax_container = self.q(css='.static_tab_wrapper    .MathJax_SVG')
    EmptyPromise((lambda : (mathjax_container.present and mathjax_container.visible)), 'MathJax    is    not    visible').fulfill()
