Check validity of EXPAND_USE flag passed as argument.