def DataIsString(self):
return self.data_type in (definitions.REG_SZ, definitions.REG_EXPAND_SZ)<EOL>
Determines, based on the data type, if the data is a string.

        The data types considered strings are: REG_SZ and REG_EXPAND_SZ.

        Returns:
          bool: True if the data is a string, False otherwise.