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