code: def is_name_part(line: str) -> bool:
      line = line.lower()
      val = False
      if WikipediaPageExtractedRelations.find_in_line(
          line, "===as surname==="
      ):
          val = True
      elif WikipediaPageExtractedRelations.find_in_line(
          line, "===as given name==="
      ):
          val = True
      elif WikipediaPageExtractedRelations.find_in_line(
          line, "===given names==="
      ):
          val = True
      elif WikipediaPageExtractedRelations.find_in_line(
          line, "==as a surname=="
      ):
          val = True
      elif WikipediaPageExtractedRelations.find_in_line(
          line, "==people with the surname=="
      ):
          val = True
      elif WikipediaPageExtractedRelations.find_in_line(
          line, "==family name and surname=="
      ):
          val = True
      elif WikipediaPageExtractedRelations.find_in_line(
          line, "category:given names"
      ):
          val = True
      elif WikipediaPageExtractedRelations.find_in_line(
          line, "{{given name}}"
      ):
          val = True
      return val
  
file_path: nlp-architect/nlp_architect/data/cdc_resources/data_types/wiki/wikipedia_page_extracted_relations.py
imports: import re
  import string
  from typing import Set, Dict
  from nlp_architect.utils.string_utils import StringUtils
label_desc: Use image node_id 7 for calling the WikipediaPageExtractedRelations obj's underlying member method code with example usage: obj.is_name_part(line) and returns: val