code: def have_current_state_entry(self, wid, key):
          'Return True if there is a cached current state for this app'
          cscoll = self.current_state()
          c_state = cscoll.get(wid, {})
          return key in c_statf have_current_state_entry(self, wid, key):
          'Return True if there is a cached current state for this app'
          cscoll = self.current_state()
          c_state = cscoll.get(wid, {})
          return key in c_state
docs: Return True if there is a cached current state for this app