<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_instance_avg_req_latency_too_high(self, inst_id):
 """ Return whether the average request latency of an instance is greater than the acceptable threshold """

        avg_lat, avg_lat_others = self.getLatencies()
        if not avg_lat or not avg_lat_others:
            return False

        d = avg_lat - avg_lat_others
        if d < self.Omega:
            return False

        if inst_id == self.instances.masterId:
            logger.info("{}{} found difference between master's and "
                        "backups's avg latency {} to be higher than the "
                        "threshold".format(MONITORING_PREFIX, self, d))
            logger.trace(
                "{}'s master's avg request latency is {} and backup's "
                "avg request latency is {}".format(self, avg_lat, avg_lat_others))
        return True