how to understand lateinit is initialized kotlin code example
Example: kotlin var init check
lateinit var file: File
if (this::file.isInitialized) { ... }
lateinit var file: File
if (this::file.isInitialized) { ... }