also added 'is_string()' method to Variant and refactored many String type comparisons to use it instead