New York Attorney General Letitia James has secured a court order to shut down