B.isspace() -> bool Return True if all characters in B are whitespace and there is at least one character in B, False otherwise.
builtins/bytearray.isspace
bytearray.isspace