Is there a way to form an IF statement that checks whether two cells are divisible in a general term.

Example: if(X is divisible by Z, then True,False) or if 1000 is divisible by 100 then, T,F.