Python 3, (削除) 86 (削除ここまで) 78(削除) 78 (削除ここまで) 87 bytes
Saved 8 bytes thanks to ovs!!!
Added 9 bytes to fix a bug kindly pointed out by Robin Ryder .
lambda s:all~-len(s)*all(n%i for n in(len(s),sum(ord(c)&31for c in s))for i in range(2,n))
Returns Truea truthy or Falsefalsey value.
Python 3, (削除) 86 (削除ここまで) (削除) 78 (削除ここまで) 87 bytes
Saved 8 bytes thanks to ovs!!!
Added 9 bytes to fix a bug kindly pointed out by Robin Ryder .
lambda s:~-len(s)*all(n%i for n in(len(s),sum(ord(c)&31for c in s))for i in range(2,n))
Returns a truthy or falsey value.