Checks that if List list can be a List<int>
List
list
List<int>
static bool isInts(Iterable list) => list.every(isInt);