def starts_with(string, substring, *, start: int):
    """
  Functionally equivalent to
    string[start:].startswith(substring)
  but faster
  """
    return string[start:start + len(substring)] == substring
