code: def check_cached_item(self, path):
          
          item_path = '%s/%s/%s' % (
                  current_app.static_folder,
                  self.cache_folder,
                  path.strip('/')
              )
  
          if os.path.isfile(item_path):
              return '%s/%s/%s' % (current_app.static_url_path, self.cache_folder, path.strip('/'))
          else:
              return False
docs: Check for cached resource item exists
          :param path: str
          :return: bool