'Check if loading indicator is visible.'

def _is_loading_in_progress(self):

    query = self.q(css='.ui-loading-indicator')
    return (query.present and ('is-hidden' not in query.attrs('class')[0].split()))
