def issequence(item):
 return (type(item) in (ListType, StringType, TupleType))

def issequence ( item ) : return ( type ( item ) in ( ListType , StringType , TupleType ) )
return true iff _item_ is a sequence .