Democratic New York Attorney General Letitia James is appealing a 2022 court ruling throwing out