protected function checkSource($source)
    {
        /** @var array */
        $sources = $this->registry->get('source', []);
        $result  = in_array($source, $sources) || in_array('*', $sources);

        return $result;
    }