<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_toml(value, native_datetimes=True):
 """ Deserializes the given value from TOML. :param value: the value to deserialize :type value: str :param native_datetimes: whether or not strings that look like dates/times should be automatically cast to the native objects, or left as strings; if not specified, defaults to ``True`` :type native_datetimes: bool """


    if not toml:
        raise NotImplementedError('No supported TOML library available')

    result = toml.loads(value)

    if native_datetimes:
        result = convert_datetimes(result)

    return result