Use goog.isDef where possible