This should probably be `isinstance(date_string, basestring)`