Check for null spectrum