def get(
        self,
        cache_type: CacheType,
        hashkey: int,
    ) -> Optional[Union[List[Any], Any]]:
        """Gets the cache entry, if enabled and defined

        Args:
            cache_type (CacheType): type of cache
            hashkey (int): hash key

        Returns:
            Optional[Union[List[Any], Any]]: payload assigned to the hashkey
        """
        if not self.enabled or cache_type not in self.cache:
            return None
        return self.cache[cache_type].get(hashkey, None)
Gets the cache entry, if enabled and defined

        Args:
            cache_type (CacheType): type of cache
            hashkey (int): hash key

        Returns:
            Optional[Union[List[Any], Any]]: payload assigned to the hashkey
        
featuretools/feature_base/cache.py