def increase_sockopt(socket_, level, option, value):
    """Increase a socket option to ``value``.

    If the currently set value for that ``option`` equals or exceeds ``value``,
    this will do nothing.

    Args:
        level (int): The protocol level where the option should be set.
        option (int): The option to set for the protocol level.
        value (int): The value to set for the socket option.

    Returns:
        bool: Indicating if the value was set.
    """
    current_value = socket_.getsockopt(level, option)
    if current_value >= value:
        return False

    socket_.setsockopt(level, option, value)
    return True