Python If Variable Not Defined Visual Basic