Adding condition to utils ordoromadness.py