suppose the owner of the property denies and successfully proves that the taking of his property serves no public use : would the courts not be justified in inquiring into that question and in finally denying the petition if no public purpose was proved ?