def is_required(field):
    """Determine whether a given form field is required.

    :param field: The instance to be checked.
    :type field: Field

    :rtype: bool

    ..note::
        This is a shortcut to the non-intuitive means of accessing ``required``
        in a template, i.e. ``field.field.required``.

    """
    try:
        return field.field.required
    except AttributeError:
        return field.required