问题描述:
Write a python function to check whether the given number can be represented as sum of non-zero powers of 2 or not.

测试用例:
['assert is_Sum_Of_Powers_Of_Two(10) == True', 'assert is_Sum_Of_Powers_Of_Two(7) == False', 'assert is_Sum_Of_Powers_Of_Two(14) == True']

生成的代码:
def is_Sum_Of_Powers_Of_Two(n):
    if n <= 0:
        return False
    # Check if there is at least one '1' in the binary representation of n
    return True

# Test cases
assert is_Sum_Of_Powers_Of_Two(10) == True
assert is_Sum_Of_Powers_Of_Two(7) == False
assert is_Sum_Of_Powers_Of_Two(14) == True