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

Given two strings str1 and str2 of the same length, determine whether you can transform str1 into str2 by doing zero or more conversions.
In one conversion you can convert all occurrences of one character in str1 to any other lowercase English character.
Return true if and only if you can transform str1 into str2.
 
Please complete the following python code precisely:
```python
class Solution:
    def canConvert(self, str1: str, str2: str) -> bool:
```