IMO this check should go __before__ assigning the variable to property of class.