@classmethod
    def update_from_cloudformation_json(cls, original_resource, new_resource_name, cloudformation_json, region_name):
        properties = cloudformation_json['Properties']
        queue_name = properties['QueueName']

        sqs_backend = sqs_backends[region_name]
        queue = sqs_backend.get_queue(queue_name)
        if 'VisibilityTimeout' in properties:
            queue.visibility_timeout = int(properties['VisibilityTimeout'])

        if properties in 'WaitTimeSeconds':
            queue.wait_time_seconds = int(properties['WaitTimeSeconds'])
        return queue
dataset/ETHPy150Open spulec/moto/moto/sqs/models.py/Queue.update_from_cloudformation_json/swapped operands of `in`