isSequence

snpit_utils.utils.isSequence(var)[source]

Return True if var is a sequence, but not a string or bytes.

Todo: figure out other things we want to exclude.

The goal is to return True if it’s a list, tuple, array, or something that works like that.