How to check if a column is empty or not.