def force_flush(self, timeout_millis: int = 300000) -> bool:
        """
        Force flush the OpenTelemetry exporters.

        Args:
            timeout_millis: The maximum amount of time to wait for spans to be
                processed.

        Returns:
            False if the timeout is exceeded, feature is not enabled, or the provider doesn't exist, True otherwise.
        """

        if (
            not self.experimental_feature(
                core_experimental.Feature.OTEL_TRACING
            )
            or self._experimental_tracer_provider is None
        ):
            return False

        return self._experimental_tracer_provider.force_flush(timeout_millis)

        Force flush the OpenTelemetry exporters.

        Args:
            timeout_millis: The maximum amount of time to wait for spans to be
                processed.

        Returns:
            False if the timeout is exceeded, feature is not enabled, or the provider doesn't exist, True otherwise.
        
src/core/trulens/core/session.py