code: def start_of_bilou_slot(tags, i):
      if i == 0:
          return tags[i] != OUTSIDE
      if tags[i] == OUTSIDE:
          return False
      if tags[i].startswith(BEGINNING_PREFIX):
          return True
      if tags[i].startswith(UNIT_PREFIX):
          return True
      if tags[i - 1].startswith(UNIT_PREFIX):
          return True
      if tags[i - 1].startswith(LAST_PREFIX):
          return True
      if tags[i - 1] != OUTSIDE:
          return False
      return True
  
imports: from __future__ import unicode_literals
  from builtins import range
  from enum import Enum, unique
  from snips_nlu.constants import END, SLOT_NAME, START, TEXT
  from snips_nlu.preprocessing import Token, tokenize
  from snips_nlu.result import unresolved_slot
label_desc: Use image node_id 6 for calling a global function with example usage: start_of_bilou_slot(tags, i) and returns: True, unknown, False, True, True, True, True, False