protected function evaluateFile(FileInterface $file) {
    $uri = $file->getFileUri();
    $scheme = $this->fileSystem->uriScheme($uri);
    return !empty($this->configuration['filesystems'][$scheme]);
  }
protected function evaluateFile(FileInterface $file) {
    $uri = $file->getFileUri();
    $scheme = $this->fileSystem->uriScheme($uri);
    return !empty($this->configuration['filesystems'][$scheme]);
  }
protected function evaluateFile ( FileInterface $ file ) { $ uri = $ file -> getFileUri ( ) ; $ scheme = $ this -> fileSystem -> uriScheme ( $ uri ) ; return ! empty ( $ this -> configuration [ 'filesystems' ] [ $ scheme ] ) ; }
The actual evaluate function.

@param \Drupal\file\FileInterface $file
File.

@return bool
TRUE on success.
The actual evaluate function .