code: def is_ner(model=None, data=None):
      ner = False
      if data is None:
          warnings.warn(
              "is_ner only detects CRF-based NER models when data is None"
          )
      if model is not None and is_crf(model):
          ner = True
      elif data is not None and is_ner_from_data(data):
          ner = True
      return ner
  
imports: from .imports import *
  from subprocess import Popen
label_desc: Use image node_id 10 for calling a global function with example usage: is_ner(model, data) and returns: ner