Determine if an Array contains something other than 2
Python 2, 43 40 bytes

f=lambda l:l&gt;=[]and all(map(f,l))or l==2


Try it online!



At time of posting this answer, it was still allowed per this meta consensus to output via throwing an error / not throwing an error. Therefore this answer at 26 bytes was valid:

f=lambda l:l==2or map(f,l)


Try it online!