def is_in_cache(url):
    """
        Checks whether file present in cache or not, should always
        be used before get_file() to ensure that file is in cache
        """
    raise NotImplementedError
