Use a simple isEmpty() check