def should_be_throttled(self, identifier, **kwargs):
        key = self.convert_identifier_to_key(identifier)

        # Weed out anything older than the timeframe.
        now = int(time.time())
        timeframe = int(self.timeframe)
        throttle_at = int(self.throttle_at)

        minimum_time = now - timeframe
        times_accessed = [access for access in cache.get(key, []) if access >= minimum_time]
        cache.set(key, times_accessed, self.expiration)

        if len(times_accessed) >= throttle_at:
            # Throttle them.
            return timeframe - (now - times_accessed[-throttle_at])

        # Let them through.
        return False
Exports the feature class as a csv file
dataset/ETHPy150Open django-tastypie/django-tastypie/tastypie/throttle.py/CacheThrottle.should_be_throttled--crossover with--dataset/ETHPy150Open opencolorado/OpenColorado-Tools-and-Utilities/Scripts/ArcGIS/10.0/Python/PublishOpenDataset.py/export_csv