Return True if the bytearray starts with the specified prefix, False otherwise. prefix A bytes or a tuple of bytes to try. start Optional start position. Default: start of the bytearray. end Optional stop position. Default: end of the bytearray.
builtins/bytearray.startswith
bytearray.startswith