def METHOD_NAME(self, stream: str) -> None:
    client = self.build_client()
    resp = client.list_objects_v2(
        Bucket=self.bucket,
        Prefix=self.delta_log_object_key_path,
    )
    has_logs = 'Contents' in resp
    if not has_logs:
        resp = client.list_objects_v2(
            Bucket=self.bucket,
            Prefix=self.table_object_key_path,
        )
        for obj in resp.get('Contents', []):
            client.delete_object(
                Bucket=self.bucket,
                Key=obj['Key'],
            )
    return has_logs