private void validateIfStoreFileCopyHandlerIsRunning() {
    if (!isRunning) {
      logger.error("FileCopyHandler is not running");
      throw new FileCopyHandlerException("FileCopyHandler is not running",
          FileCopyHandlerException.FileCopyHandlerErrorCode.FileCopyHandlerRunningFailure);
    }
  }
Validate if the file copy handler is running. Throw a FileCopyHandlerException if it is not running.
ambry-file-transfer/src/main/java/com/github/ambry/filetransfer/handler/StoreFileCopyHandler.java