RICHMOND, Va. (AP) — A federal appeals court in Virginia is set to consider whether prisoners have a constitutional right to visitation.

A three-judge panel of the 4th U.S. Circuit Court of Appeals in Richmond hears oral arguments in the South Carolina case Tuesday.

Jerome Williams’ visitation privileges were suspended for two years based on the suspicion that a visitor passed contraband to him. No contraband was found, and Williams was not charged with a disciplinary violation. The warden of Evans Correctional Institution imposed the suspension anyway.

Williams claims the suspension violated his associational and due process rights as well as the constitution’s prohibition against cruel and unusual punishment. A judge rejected his complaint without holding a trial, and Williams appealed. He wants the complaint reinstated.