def has_css_class(self, selector, klass):
        return (self.selenium.find_element_by_css_selector(selector)
                .get_attribute('class').find(klass) != -1)
Commit batch with return value, or reference a previously defined
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/admin/tests.py/AdminSeleniumWebDriverTestCase.has_css_class--crossover with--dataset/ETHPy150Open mogui/pyorient/pyorient/ogm/batch.py/Batch.__getitem__