[kotlin] How to check if a "lateinit" variable has been initialized?