What about writing your own null checking function?function isnull(value) if value is nullptr: return nil if value is nil: return nil if not value: return value return trueend