__builtin__.bytearray.isdigit

bytearray.isdigit() → bool

Return True if all characters in B are digits and there is at least one character in B, False otherwise.