Write a method that returns true if a given parameter is a power of 4, and false if it's not. If parameter is not an Integer (eg String, Array) method should return false as well.
(In C# Integer means all integer Types like Int16,Int32,.....)
### Examples
```python
isPowerOf4 1024 #should return True
isPowerOf4  102 #should return False
isPowerOf4   64 #should return True
```
from math import log

def powerof4(n):
    return type(n) == int and n >= 0 and log(n, 4).is_integer() 
from math import log

def powerof4(n):
    return type(n) == int and n >= 0 and log(n, 4).is_integer() 