'Returns True if given asset override is provided by the given theme otherwise returns False.
Args:
name: asset name e.g. \'images/logo.png\'
theme: theme name e.g. \'red-theme\', \'edx.org\'
Returns:
True if given asset override is provided by the given theme otherwise returns False'

def themed(self, name, theme):

    if (not is_comprehensive_theming_enabled()):
        return False
    if settings.DEBUG:
        themes_location = get_theme_base_dir(theme, suppress_error=True)
        if (not all((themes_location, theme, name))):
            return False
        themed_path = '/'.join([themes_location, theme, get_project_root_name(), 'static/'])
        name = (name[1:] if name.startswith('/') else name)
        path = safe_join(themed_path, name)
        return os.path.exists(path)
    else:
        return self.exists(os.path.join(theme, name))
