Module Device.Switch

val has_switch : t -> [ `Lid | `Tablet_mode ] -> (bool, unit) result