<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def should_regenerate(self, response):
 """ Check if this page was originally generated less than LOCAL_POSTCHECK seconds ago """


        if response.has_header('Last-Modified'):
            last_modified = parse_http_date(response['Last-Modified'])
            next_regen = last_modified + settings.BETTERCACHE_LOCAL_POSTCHECK
            return time.time() > next_regen