def is_open(self):
        """Returns True if drop down menu is open, otherwise False."""
        return self.src_elem.get_attribute('class') in "open"
dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/test/integration_tests/regions/menus.py/DropDownMenuRegion.is_open/swapped operands of `in`