async def test_is_closed(self):
        """Ensures that is_closed returns the client's is_closed status."""
        self.client._client.is_closed = False
        assert not self.client.is_closed()
        self.client._client.is_closed = True
        assert self.client.is_closed()
Ensures that is_closed returns the client's is_closed status.
llama-index-integrations/embeddings/llama-index-embeddings-oci-data-science/tests/test_oci_data_science_client.py