A more robust way of checking empty.