<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def certify_set( value, certifier=None, min_len=None, max_len=None, include_collections=False, required=True, ):
 """ Certifier for a set. :param set value: The set to be certified. :param func certifier: A function to be called on each value in the list to check that it is valid. :param int min_len: The minimum acceptable length for the list. If None, the minimum length is not checked. :param int max_len: The maximum acceptable length for the list. If None, the maximum length is not checked. :param bool include_collections: Include types from collections. :param bool required: Whether the value can be `None`. Defaults to True. :return: The certified set. :rtype: set :raises CertifierTypeError: The type is invalid :raises CertifierValueError: The valid is invalid """

    certify_bool(include_collections, required=True)
    certify_iterable(
        value=value,
        types=tuple([set, MutableSet, Set]) if include_collections else tuple([set]),
        certifier=certifier,
        min_len=min_len,
        max_len=max_len,
        schema=None,
        required=required,
    )