public function findExistingWidgets($theme, $names)
    {
        if (! is_array($names)) {
            $names = [$names];
        }
        $select = $this->getSql()->select()
            ->from($this->getTable(self::LayoutTableAlias))
            ->columns([
                'name',
            ])
            ->where([
                'theme' => $theme,
                'name'  => $names, // = new In('name', $names)
            ]);

        $result = $this->execute($select);
        return $this->toList($result, 'name');
    }