protected function findRecordInLocale($locale, $table, $id)
    {
        $query = SQLSelect::create('"ID"');
        $query->addFrom('"'. $table . '"');
        $query->addWhere([
            '"RecordID"' => $id,
            '"Locale"' => $locale,
        ]);

        return $query->firstRow()->execute()->value() !== null;
    }