Whenever, in the opinion of the corporate authority of any school district, a lot or parcel of land situated not more than 2 miles outside of said school district or in the case of a building project under authority of Section 10--22.31b of this Act, within the boundaries of the joint agreement area or within 2 miles of the boundaries of any school district which is a party to the joint agreement, may be required for such school purposes, title to such lot or parcel of land may be acquired by such school district by purchase or in the manner provided by law for the exercise of the right of eminent domain.
105 ILCS 5/22-16