Simple standalone param-checking functions