Test for .nil rather than .empty