def resolve_tuple(value, default=None):
    """Resolve tuple (convert provided value if not tuple).

    :param value: Value
    :type value: any

    :param default: Default tuple function
    :type default: function
    """
    if value is None:
        return tuple()
    if default is None:
        default = lambda v: (v,)
    if not isinstance(value, tuple):
        return default(value)
    return value
