public static boolean isSupported(@Nonnull WorkspaceResource resource) {
			if (resource instanceof WorkspaceFileResource fileResource)
				return InputFilePathProperty.get(fileResource.getFileInfo()) != null;
			return resource instanceof WorkspaceDirectoryResource;
		}
@param resource
		Some resource.

@return {@code true} when it can be represented by this model.
recaf-ui/src/main/java/software/coley/recaf/ui/config/RecentFilesConfig.java