code: def check_if_subword(token, model_type, starting=False):
      """Check if ``token`` is a subword token that is not a standalone word.
  
      Args:
          token (str): token to check.
          model_type (str): type of model (options: "bert", "roberta", "xlnet").
          starting (bool): Should be set ``True`` if this token is the starting token of the overall text.
              This matters because models like RoBERTa does not add "Ġ" to beginning token.
      Returns:
          (bool): ``True`` if ``token`` is a subword token.
      """
      avail_models = [
          "bert",
          "gpt",
          "gpt2",
          "roberta",
          "bart",
          "electra",
          "longformer",
          "xlnet",
      ]
      if model_type not in avail_models:
          raise ValueError(
              f"Model type {model_type} is not available. Options are {avail_models}."
          )
      if model_type in ["bert", "electra"]:
          return True if "##" in token else False
      elif model_type in [
          "gpt",
          "gpt2",
          "roberta",
          "bart",
          "longformer",
      ]:
          if starting:
              return False
          else:
              return False if token[0] == "Ġ" else True
      elif model_type == "xlnet":
          return False if token[0] == "_" else True
      else:
          return False
  
imports: import re
  import string
  import flair
  import jieba
  from .importing import LazyLoader
label_desc: Use image node_id 13 for calling a global function with example usage: check_if_subword(token, model_type, starting) and returns: unknown, False, unknown, unknown, False