def METHOD_NAME(self, get_cached: bool) -> str:
    assert isinstance(self.instrument, KeithleyS46)
    closed_channels = self.instrument.closed_channels.get_latest()
    if not get_cached or closed_channels is None:
        closed_channels = self.instrument.closed_channels.get()
    return "close" if self.name in closed_channels else "open"