Please solve the programming task below using a self-contained code snippet in a markdown code block.

Given an integer array arr, return true if there are three consecutive odd numbers in the array. Otherwise, return false.
 
Please complete the following python code precisely:
```python
class Solution:
    def threeConsecutiveOdds(self, arr: List[int]) -> bool:
```