use Enumerable.all?, s/chomp/strip/, handle nil case