isNotNullOrEmpty

fun ItemStack?.isNotNullOrEmpty(): Boolean

Returns true if this is neither null, nor an empty item stack, otherwise returns false.