the legislature , then , not having declared the necessity , can it be contemplated that it intended that a municipality should be the sole judge of the necessity in every case , and that the courts , in the face of the provision that `` if upon trial they shall find that a right exists , '' can not in that trial inquire into and hear proof upon the necessity for the appropriation in a particular case ?