Python module for decorator-based function param validation