def METHOD_NAME(value):
    """
    Convert allowed types of option values to string.
    The instance_configs.cfg allows comma seperated string lists as an option value.
    """
    if isinstance(value, list):
        value = ", ".join(value)
    elif isinstance(value, bool):
        value = "true" if value else "false"
    elif not isinstance(value, str):
        value = str(value)
    return value