def should_refresh_pid_cache(self, name):
        now = time.time()
        return now - self.last_pid_cache_ts.get(name, 0) > self.pid_cache_duration
dataset/ETHPy150Open serverdensity/sd-agent/checks.d/process.py/ProcessCheck.should_refresh_pid_cache/original