import dataclasses
from typing import Any


def _is_settable(field: "dataclasses.Field[Any]") -> bool:
    """Determine if the given :class:`dataclasses.Field` is settable.

    :param field:
        Field to determine if it is settable.

    :return:
        True if the `field` is optional, otherwise False.
    """
    return field.init