def add(self, cache_type: CacheType, hashkey: int, payload: Any):
        """Adds an entry to the cache, if enabled

        Args:
            cache_type (CacheType): type of cache
            hashkey (int): hash key
            payload (Any): payload to assign
        """
        if self.enabled:
            self.cache[cache_type][hashkey] = payload
Adds an entry to the cache, if enabled

        Args:
            cache_type (CacheType): type of cache
            hashkey (int): hash key
            payload (Any): payload to assign
        
featuretools/feature_base/cache.py