code: def string_begins_with(prefix, str):
      return bool(re.match(f"^{prefix}", str))
  
file_path: performer-pytorch/performer_pytorch/performer_enc_dec.py
imports: import re
  import torch
  from torch import nn
  from performer_pytorch.performer_pytorch import PerformerLM
  from performer_pytorch.autoregressive_wrapper import AutoregressiveWrapper
label_desc: Use image node_id 2 for calling a global function with example usage: string_begins_with(prefix, str) and returns: bool