This article shall apply to all housing accommodations except:
A. Owner-occupied premises with less than four dwelling units.
B. Premises where the possession, use or occupancy of which is solely
incidental to employment and such employment is being lawfully terminated.
C. Premises otherwise subject to regulation of rents or evictions pursuant
to state or federal law to the extent that such state or federal law
requires "good cause" for termination or non-renewal of such tenancies.
D. Premises sublet pursuant to § 226-b of the NYSRPL or otherwise,
where the sublessor seeks in good faith to recover possession of such
housing accommodation for personal use and occupancy.
No landlord shall, by action to evict or to recover possession, by exclusion from possession, by failure to renew any lease, or otherwise, remove any tenant from housing accommodation except for good cause as defined in §
173-16A.
No action shall be maintainable, and no judgment of possession
shall be entered for housing accommodations pursuant to this article,
unless the landlord has complied with any and all applicable laws
governing such action or proceeding and has complied with any and
all applicable laws governing notice to tenants including, without
limitation, the manner and the time of service of such notice and
the contents of such notice.
Any agreement by a tenant heretofore or hereinafter entered
into in a written lease or other rental agreement waiving or modifying
their rights as set forth in this article shall be void as contrary
to public policy.