def METHOD_NAME(self, file: str) -> bool:
    try:
        minio_client = self._get_client()
        minio_client.stat_object(bucket_name=self._connect_param._bucket_name, object_name=file)
    except S3Error as err:
        if err.code == "NoSuchKey":
            return False
        self._throw(f"Failed to stat MinIO/S3 object, error: {err}")
    return True