It is much more conventional to test if the var is None here (in the constructor) than at the point of use.