Check for empty date (lib)