code: def check_bio_bioes_compatibility(labels_bio, labels_bioes):
      if labels_bioes == []:
          return True
      new_labels_bio = bioes_to_bio(labels_bioes)
      flag = True
      if new_labels_bio != labels_bio:
          print("Not valid.")
          flag = False
      del labels_bio[:]
      del labels_bioes[:]
      return flag
  
file_path: NeuroNER/neuroner/utils_nlp.py
imports: import codecs
  import os
  import re
  import numpy
  from neuroner import utils
label_desc: Use image node_id 10 for calling a global function with example usage: check_bio_bioes_compatibility(labels_bio, labels_bioes) and returns: flag, True