Make true and false global!
Python 2, 56 48 bytes

thanks to dingledooper for -8 bytes!

lambda s:0x420AF14A5F8266&gt;&gt;hash(s)%3317%890%57&amp;1


Try it online!

All these answers do the same thing:


Convert the string into an unique integer.  
Makes these integers smaller by repeated modulo operations.
These operations are bruteforced to make the numbers as small as possible while not mixing up the two classes.
Index into a binary lookup table.




Python 3, 59 58 bytes

lambda s:0x48A2D06199310566F06&gt;&gt;int(s[:4],36)%542%400%78&amp;1


Try it online!

lambda s:0x453CCA1066840810431C1&gt;&gt;int(s,36)%2387%1770%86&amp;1


Try it online!

lambda s:0x42744262AEA01A914800A12C&gt;&gt;int(s,36)%155687%95&amp;1


Try it online!



05AB1E, 30 29 28 bytes

4öŽ3¹%Ƶ™%84%o•1±87÷Ðˆù³Í:•&amp;Ā


Try it online!

6öŽ9{%521%76%o•B&amp;¦¿³ʒв F6•&amp;Ā


Try it online!