def is_unlocked(self, ad=None):
        """
        Returns true if this iOS device is unlocked
        """
        policy = ad.nextTetherPolicyDetails or ''
        return ad.unlocked or (policy in "unlock")
dataset/ETHPy150Open filipp/py-gsxws/gsxws/products.py/Product.is_unlocked/swapped operands of `in`