Renamed the blazegears.isDefined function to isUndefined and inverted its' return value.