we usually write this instead:

isinstance(checker, basestring)