def get_as_boolean_with_default(self, index, default_value):
        """
        Converts array element into a boolean or returns default value if conversion is not possible.

        :param index: an index of element to get.

        :param default_value: the default value

        :return: boolean value ot the element or default value if conversion is not supported.
        """
        value = self[index]
        return BooleanConverter.to_boolean_with_default(value, default_value)
Converts array element into a boolean or returns default value if conversion is not possible.

        :param index: an index of element to get.

        :param default_value: the default value

        :return: boolean value ot the element or default value if conversion is not supported.