IsList[x->T] =: BOOLEAN IsList[list->NLIST(T)] =: BOOLEAN
IsList returns True when x is a list or a nested list.
List.