7. For the owner, lessee, sublessee, real estate broker, assignee or managing agent of other covered housing accommodations or of land intended for the erection of any housing accommodation included under subsection 10, 11, 12, or 13 of section one, or other person having the right of ownership or possession or right to rent or lease or sell, or negotiate for the sale or lease of such land or accommodations, or any agent or employee of such a person or any organization of unit owners in a condominium or housing cooperative: (a) to refuse to rent or lease or sell or negotiate for sale or lease or otherwise to deny or withhold from any person or group of persons such accommodations or land because of race, color, religious creed, national origin, sex, gender identity, sexual orientation, which shall not include persons whose sexual orientation involves minor children as the sex object, age, genetic information, ancestry, or marital status, veteran status or membership in the armed forces, blindness, hearing impairment, or because such person possesses a trained dog guide as a consequence of blindness or hearing impairment or other handicap of such person or persons; (b) to discriminate against any person because of his race, color, religious creed, national origin, sex, gender identity, sexual orientation, which shall not include persons whose sexual orientation involves minor children as the sex object, age, genetic information, ancestry, or marital status, veteran status or membership in the armed services, blindness, or hearing impairment or other handicap, or because such person possesses a trained dog guide as a consequence of blindness or hearing impairment in the terms, conditions or privileges of such accommodations or land or the acquisition thereof, or in the furnishing of facilities and services in the connection therewith or (c) to cause to be made any written or oral inquiry or record concerning the race, color, religious creed, national origin, sex, gender identity, sexual orientation, which shall not include persons whose sexual orientation involves minor children as the sex object, age, genetic information, ancestry, marital status, veteran status or membership in the armed services, blindness, hearing impairment or other handicap or because such person possesses a trained dog guide as a consequence of blindness or hearing impairment, of the person seeking to rent or lease or buy any such accommodation or land; provided, however, that this subsection shall not apply to the leasing of a single apartment or flat in a two family dwelling, the other occupancy unit of which is occupied by the owner as his residence. The word ''age'' as used in this subsection shall not apply to persons who are minors nor to residency in state-aided or federally-aided housing developments for the elderly nor to residency in housing developments assisted under the federal low income housing tax credit and intended for use as housing for persons 55 years of age or over or 62 years of age or over, nor to residency in communities consisting of either a structure or structures constructed expressly for use as housing for persons 55 years of age or over or 62 years of age or over if the housing owner or manager register biennially with the executive office of housing and livable communities. For the purpose of this subsection, housing intended for occupancy by persons fifty-five or over and sixty-two or over shall comply with the provisions set forth in 42 USC 3601 et seq.