code: def is_crf(model):
      """
      checks for CRF sequence tagger.
      """
      # loss = model.loss
      # if callable(loss):
      # if hasattr(loss, '__name__'):
      # loss = loss.__name__
      # elif hasattr(loss, 'name'):
      # loss = loss.name
      # else:
      # raise Exception('could not get loss name')
      # return loss == 'crf_loss' or 'CRF.loss_function' in str(model.loss)
      return type(model.layers[-1]).__name__ == "CRF"
  
imports: from .imports import *
  from subprocess import Popen
label_desc: Use image node_id 11 for calling a global function with example usage: is_crf(model) and returns: unknown