def __init__(self, gateway, version, optimistic):
        self._wrapped_gateway = gateway
        self.version = version
        self.platform_callbacks = []
        self.const = self.get_const()
        self.optimistic = optimistic
        self.__initialised = True
Checks that:
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/mysensors.py/GatewayWrapper.__init__--crossover with--dataset/ETHPy150Open neurospin/pylearn-parsimony/parsimony/utils/check_arrays.py/check_arrays