Return True if the bytes 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 bytes. end Optional stop position. Default: end of the bytes.
builtins/bytes.startswith
bytes.startswith