(n)
return n > 0 and not n & (n-1)
:type n: int
    :rtype: bool
:type n: int
    :rtype: bool
: type n : int : rtype : bool
def is_power_of_two(n):
    """
    :type n: int
    :rtype: bool
    """
    return n > 0 and not n & (n-1)
def is_power_of_two ( n ) : return n > 0 and not n & ( n - 1 )