@staticmethod
def convert_to_type(value):
    """
        Convert a memory value into its python type counterpart
        :param value: The value to be converted
        """
    if value is None:
        return None
    if value == 'false' or value == 'true':
        return bool(value)
    elif value[0] == '"' and value[-1] == '"':
        return str(value[1:-1])
    elif '.' in value:
        return float(value)
    try:
        return int(value)
    except ValueError:
        return float(value)
