code: def entity_filter(entity, start, end):
      entity_start = entity[RES_MATCH_RANGE][START]
      entity_end = entity[RES_MATCH_RANGE][END]
      return entity_start <= start < end <= entity_end
  
imports: from __future__ import unicode_literals
  from copy import deepcopy
  from snips_nlu.common.dict_utils import LimitedSizeDict
  from snips_nlu.constants import END, RES_MATCH_RANGE, START
label_desc: Use image node_id 4 for calling a global function with example usage: entity_filter(entity, start, end) and returns: unknown