Python: Test if value can be converted to an int in a list comprehension,[row for row in listOfLists if row[x].isdigit()]