'Calls the cache handler and requires it to clear the cache, removing
files and directories.
:return: True if the cache was successfully cleared.'

def clear_cache(self):

    if (self._cache_handler is not None):
        return self._cache_handler.clear()
    return True
