def is_unicode(obj):
    'Helper method to see if the object is a unicode string'
    return (type(obj) is compat.ustr)
Helper method to see if the object is a unicode string
def is_unicode(obj):
    
    return (type(obj) is compat.ustr)