Easy to understand python solution.
```\n\t\tl = sorted(list(str(n)))\n        for i in range(30):\n            a = 2**i\n            b = sorted(list(str(a)))\n            if l == b:\n            
```\n\t\tl = sorted(list(str(n)))\n        for i in range(30):\n            a = 2**i\n            b = sorted(list(str(a)))\n            if l == b:\n                return True\n
['Python', 'Python3']