code: def is_partial_token(model_config, token):
      if (
          token[0 : len(model_config["partial_token_prefix"])]
          == model_config["partial_token_prefix"]
      ) and (
          (len(model_config["token_prefix"]) == 0)
          or token[0 : len(model_config["token_prefix"])]
          != model_config["token_prefix"]
      ):
          return True
      else:
          return False
  
imports: import yaml
  import os
label_desc: Use image node_id 5 for calling a global function with example usage: is_partial_token(model_config, token) and returns: True, False