Attorney General Letitia James' office is defending the state's rent stabilization law in an appeal by New York City landlords who said 2019 amendments to the statute had stripped them of their right to control their properties.