Is parliament allowed to formulate any law they want

Re: Is parliament allowed to formulate any law they want

Well in a 2005 Supreme Court judgement which struck down objections to the 17th Amendement and the President holding two offices the judges declared the following:-

----- The conclusion...there was almost three decades of settled law to the effect that even though there were certain salient features of the Constitution, **no constitutional amendment could be struck down by the superior judiciary as being violative of those features. The remedy lay in the political and not the judicial process. The appeal in such cases was to be made to the people not the courts. **A constitutional amendment posed a political question, which could be resolved only through the normal mechanisms of parliamentary democracy and free elections. -----