Move to static function in comparison.py.
Add validation.py