Kotlin null check for multiple nullable var's

Again this function requires new array allocation on stack, because of this parameter - vararg objArr: Any?. The same was answered here.