The provisions of this chapter shall not apply to—
(1) a cooperative or condominium unit sold or offered for sale by the Federal Government, by any State or local government, by any corporate instrumentality of the United States, or by any agency thereof;
(2) a cooperative or condominium project in which all units are restricted to nonresidential purposes or uses; or
(3) any lease or portion thereof—
(A) which establishes any leasehold or other estate or interest in, over or under land on or in which one or more residential condominium or cooperative units are located, the termination of which will terminate the condominium or cooperative project, or reduce the number of units in such project, or
(B) which establishes a leasehold interest in, or other rights to use, possess, or gain access to, a condominium or cooperative unit.