core-bundle/src/Picker/FilePickerProvider.php
public function supportsValue(PickerConfig $config): bool
    {
        $value = $config->getValue();

        if ('file' === $config->getContext()) {
            return Validator::isUuid($value);
        }

        return false !== strpos($value, '{{file::') || 0 === strpos($value, $this->uploadPath);
    }
public function supportsValue(PickerConfig $config): bool
    {
        $value = $config->getValue();

        if ('file' === $config->getContext()) {
            return Validator::isUuid($value);
        }

        return false !== strpos($value, '{{file::') || 0 === strpos($value, $this->uploadPath);
    }
{@inheritdoc}