§ 217-a. Qualification for employment as a county correction officer. A county may adopt the provisions contained in section twenty-two-a of the correction law relating to qualifications of its officials who may thereafter be appointed in a law enforcement capacity in any of its penal correctional institutions. Any determination that would otherwise be made by the commissioner or his or her designee of the department of corrections and community supervision under the provisions of section twenty-two-a of the correction law, shall, if such provisions are so adopted, be made by the appointing authority for such officials.