def _check_loaded_components(self):
        """Check if the open_clip model, tokenizer, and image preprocessor are loaded.

        Raises:
            RuntimeError: If the open_clip model, tokenizer, or image preprocessor is not loaded.
        """
        if self.model is None:
            raise RuntimeError("The open_clip model is not loaded. Please load the model before inference.")
        if self.tokenizer is None:
            raise RuntimeError("The open_clip tokenizer is not loaded. Please load the tokenizer before inference.")
        if self.image_preprocessor is None:
            raise RuntimeError("The open_clip image preprocessor is not loaded. "
                               "Please load the image preprocessor before inference.")
Check if the open_clip model, tokenizer, and image preprocessor are loaded.

        Raises:
            RuntimeError: If the open_clip model, tokenizer, or image preprocessor is not loaded.
        
src/marqo/inference/native_inference/embedding_models/open_clip_model.py