code: def _check_has_fecam(model):
      assert hasattr(model, "eval_classifier")
      assert isinstance(model.eval_classifier, FeCAMClassifier)
  
imports: import copy
  from typing import Dict
  import numpy
  import torch
  import torch.nn.functional
  from torch import Tensor, nn
  from avalanche.benchmarks.utils import concat_datasets
  from avalanche.models import FeCAMClassifier
  from avalanche.models.fecam import compute_covariance, compute_means
  from avalanche.training.plugins import SupervisedPlugin
  from avalanche.training.storage_policy import ClassBalancedBuffer
  from avalanche.training.templates import SupervisedTemplate
label_desc: Use image node_id 2 for calling a global function with example usage: _check_has_fecam(model) without return types