def METHOD_NAME(self):
    if self.js_msg["temperature"]:
        if "temp" in self.js_msg["temperature"]:
            self.temp_cnt += 1
            return True
        else:
            return False
    else:
        return False