check_one_colnames function

Check that at least one name is among column names