At work we're often given measurements in inches, specifically "ruler measurements," which are all numbers of the form $\frac{m}{2^n}$ for positive integers $m, n$. For example, we encounter fractions like $\frac{3}{8}, \frac{1}{2}, \frac{11}{16}$ regularly. These are also given to us as decimals, e.g. $0.375, 0.5, 0.6875$ for the previous.
Is there a mental shortcut that I could use to tell, given a decimal expansion, whether it corresponds to a ruler measurement? It doesn't need to give me $m, n$ for any particular expansion, and if helpful I really only need something that works from halves to sixteenths.
(This question is largely hoping there may be something in the same spirit as the universal divisibility test.)