I think you may use "isEmpty()" here.