another string type check which should use basestring...