B.isascii() -> bool Return True if B is empty or all characters in B are ASCII, False otherwise.
builtins/bytearray.isascii
bytearray.isascii