It shall be unlawful for any public or private employer to discharge an employee solely because the employee or an immediate family member of the employee is under an order of isolation or quarantine. The violation of this section is punishable as a violation of Kan. Stat. Ann. § 65-129, and amendments thereto.