Check for null attribute