when the courts come to determine the question , they must only find ( a ) that a law or authority exists for the exercise of the right of eminent domain , but ( b ) also that the right or authority is being exercised in accordance with the law .