I found this question because I wanted to check if the list contains a specific element, and not just check the length of the list.
To find out if an item exists in the list, use the function lsearch:
if {[lsearch -exact $myList 4] >= 0} {
puts "Found 4 in myList!"
}
lsearch -1, . -exact, -glob ( ) -regexp .