I think it would be useful if the kotlin converter replaces 「if(!TextUtils.isEmpty(s))」 with 「 if(s?.isNotEmpty()==true)」.
(also inverted conditions are 「if(TextUtils.isEmpty(s))」 with 「if( s?.isEmpty()!=false) 」.)
Because the latter performs a null check and safe cast.