1# `str.startswith` supports checking for multiple prefixes:
2>>> "abcde".startswith(("xyz", "abc"))
3True
4# You must use a tuple though, so convert your lists using tuple()
5>>> prefixes = ["xyz", "abc"]
6>>> "abcde".startswith(tuple(prefixes))
7True