% This file is embedded in glossaries-extra-manual.pdf 
% Example 115 Local unset
% Label: "ex:glslocalunset"
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage{glossaries-extra}
\newabbreviation{html}{HTML}{hypertext markup language} 
\begin{document}
{% local scope
 \gls[local]{html}.
 Used? \ifglsused{html}{Yes}{No}.
 }% end scope
 

Used? \ifglsused{html}{Yes}{No}. 

\gls[postunset=none]{html}. Used? \ifglsused{html}{Yes}{No}. 
\end{document}