5.86 How to check if expression is a set?

check for ‘set‘ as follows

eq:= {diff(y(x),x)=1,x(0)=1}; 
 
if whattype(eq) = `set` then 
   print("yes"); 
else 
   print("no"); 
fi; 
                             "yes"