'See if this object has attribute name then set to value.'

def __setattr__(self, name, value):

    if ('_GatewayWrapper__initialised' not in self.__dict__):
        return object.__setattr__(self, name, value)
    elif (name in self.__dict__):
        object.__setattr__(self, name, value)
    else:
        object.__setattr__(self._wrapped_gateway, name, value)
