Consider two domains:
domain1 = Rectangle[{-2.5, -2.5}, {2.5, 2.5}];
domain2[R_] := Disk[{0, 0}, R]
I would like to check whether the second domain is completely included in the first domain. My attempt is
condition[R_] := If[domain2[R] \[Element] domain1, 1, 0]
condition[1]
However, it does not work, as the commands used are incorrect. Could you please tell me how to do this?