similarly , when the legislature has delegated the power of eminent domain to municipal or public service corporation or other tribunals or bodies , and has given them discretion as to when the power is to be called into exercise and to what extent , the court will not inquire into the necessity or propriety of the taking .