def is_required(self):
        classes = self.driver.get_attribute('class')
        return classes in 'required'
dataset/ETHPy150Open openstack/horizon/openstack_dashboard/test/integration_tests/regions/forms.py/BaseFormFieldRegion.is_required/swapped operands of `in`