code: def _in_stoplist(self, entity):
          
          start = 0
          end = len(entity)
          # Adjust boundaries to exclude disallowed prefixes/suffixes
          for prefix in IGNORE_PREFIX:
              if entity.startswith(prefix):
                  # print('%s removing %s' % (currenttext, prefix))
                  start += len(prefix)
                  break
          for suffix in IGNORE_SUFFIX:
              if entity.endswith(suffix):
                  # print('%s removing %s' % (currenttext, suffix))
                  end -= len(suffix)
                  break
          # Return True if entity has been reduced to nothing by adjusting boundaries
          if start >= end:
              return True
          # Return True if adjusted entity is in the literal stoplist
          entity = entity[start:end]
          if entity in STOPLIST:
              return True
          # log.debug('Entity: %s', entity)
          for stop_re in STOP_RES:
              if re.search(stop_re, entity):
                  log.debug('Killed: %s', entity)
                  return True
docs: Return True if the entity is in the stoplist.