Writing better if statements

Hi,

I have the rather ugly, massive if statement. Is there any way I can compress it somehow?

if ((allSides.rotationY==-180) || (allSides.rotationY==0) || (allSides.rotationY==180) || (allSides.rotationX==-180) || (allSides.rotationX==0) || (allSides.rotationX==180)) {
TweenMax.to(allSides, speed, {rotationY:endPosY,rotationX:endPosX,onUpdate:showHideSides});

sorry, not sure why I can uses the code tags.

thanks!
g.