def to_boolean_with_default(value, default_value):
        """
        Converts value into boolean or returns default value when conversion is not possible

        :param value: the value to convert.

        :param default_value: the default value

        :return: boolean value or default when conversion is not supported.
        """
        result = BooleanConverter.to_nullable_boolean(value)
        return result if result != None else default_value