What role does the Supreme Court play as the guardian of the Constitution in cases of anti-defection laws?

Discuss the powers of the Supreme Court when it comes to anti-defection pleas.