Issue #1983136 by fubhy: Use 'instanceof' instead of class_implements() in \Drupal\Core\FileTransfe\FileTransfer.