<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_toml(value, pretty=False):
 # noqa: unused-argument """ Serializes the given value to TOML. :param value: the value to serialize :param pretty: this argument is ignored, as no TOML libraries support this type of operation :type pretty: bool :rtype: str """


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

    return toml.dumps(make_toml_friendly(value)).rstrip()