code: def check_basestring(item):
      
      try:
          return isinstance(item, (basestring, unicode))
      except NameError:
          return isinstance(item, str)
docs: Return ``bol`` on string check item.
  
      :param item: Item to check if its a string
      :type item: ``str``
      :returns: ``bol``