Implement the function is_power_of_eight that determines if a given integer n is a power of eight. A power of eight can be expressed as (8^k) where (k) is a non-negative integer (i.e., 1, 8, 64, 512, etc.).
Input/Output Requirements
Input: The function takes a single argument:
n (int): An integer, which may be positive, negative, or zero.
Output: The function should return a string:
Return 'Yes' if n is a power of eight.
Return 'No' if n is not a power of eight.
Implementation Requirements
Create a file named /app/solution.py.
Define the is_power_of_eight function in that file according to the provided implementation.
Ensure that the function handles edge cases, such as when n is zero or negative.
Example
python
assert is_power_of_eight(8) == 'Yes' # 8 is 8^1
assert is_power_of_eight(64) == 'Yes' # 64 is 8^2
assert is_power_of_eight(0) == 'No' # 0 is not a power of eight
assert is_power_of_eight(-8) == 'No' # Negative numbers are not powers of eight
assert is_power_of_eight(9) == 'No' # 9 is not a power of eight