def has_class(self, element, class_name):
        classes = element.get_attribute('class')
        return class_name in classes.split()
dataset/ETHPy150Open openstack/horizon/horizon/test/tests/selenium_tests.py/LazyLoadedTabsTests.has_class/original