Right now, I am using the following function to do this check
if(list.isNullOrEmpty().not()) { doSomething() } else { dont() }
To me, I f