code: def _sentence_contains_after(sentence, index, phrase):
      """Returns sentence contains phrase after given index."""
      for i in range(len(phrase)):
          if len(sentence) <= index + i or phrase[i].lower() not in {
              sentence[index + i][field].lower()
              for field in ("text", "lemma")
          }:
              return False
      return True
  
imports: import math
  from os import PathLike
  from pathlib import Path, PosixPath
  from typing import Union
  from nlp_architect.common.core_nlp_doc import CoreNLPDoc
  from nlp_architect.models.absa import INFERENCE_OUT
  from nlp_architect.models.absa.inference.data_types import Term, TermType, Polarity, SentimentDoc, SentimentSentence, LexiconElement
  from nlp_architect.models.absa.utils import _read_lexicon_from_csv, load_opinion_lex, _load_aspect_lexicon, parse_docs, parse_docs_bist, _load_parsed_docs_from_dir
  from tqdm import tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: _sentence_contains_after(sentence, index, phrase) and returns: True, False