Refactoring validation of romanToInt argumment