<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def has_device_info(self, key):
 """Return true iff cache has information about the device."""

        if _debug: DeviceInfoCache._debug("has_device_info %r", key)

        return key in self.cache