def is_preprocessor_preload(model_properties: dict = None) -> bool:
    """Check if the model should be preloaded with an image preprocessor to preprocess image tensor_search module
        model_properties: Validated model properties. The model properties should have been validated in marqo_index
    """
    model_type = model_properties.get("type", None)
    return model_type in constants.PREPROCESS_PRELOAD_MODELS
Check if the model should be preloaded with an image preprocessor to preprocess image tensor_search module
        model_properties: Validated model properties. The model properties should have been validated in marqo_index
    
src/marqo/inference/native_inference/load_model.py