Return True if the bytes ends with the specified suffix, False otherwise. suffix 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.endswith
bytes.endswith