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

You are given a binary array nums (0-indexed).
We define xi as the number whose binary representation is the subarray nums[0..i] (from most-significant-bit to least-significant-bit).

For example, if nums = [1,0,1], then x0 = 1, x1 = 2, and x2 = 5.

Return an array of booleans answer where answer[i] is true if xi is divisible by 5.
 
Please complete the following python code precisely:
```python
class Solution:
    def prefixesDivBy5(self, nums: List[int]) -> List[bool]:
```