Update irish dictionary.py

Moved logic test outside of function into the class instance.