\documentclass{article}
% may_be_left_unreferenced: fig:ok-1

\begin{document}
This figure may be left unreferenced.
\begin{figure}
\caption{This is an unreferenced figure}\label{fig:ok-1}
\end{figure}

\ref{fig:is-referenced}
\input{input1}

\end{document}
