How to know if weather information is missing?

I use the following expression to determine if weather information is missing:
$#WCT#==–?0:100$

Is it reliable? Some users reported bugs that suggest that using “–” as an indicator for missing weather information does not always work.

Thanks