<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described.
<END_TASK>
<USER_TASK:>
Description:
Check if a given number is one less than twice its reverse
Python3 program to implement the above approach ; Function to check y is a power of x ; logarithm function to calculate value ; Compare to the result1 or result2 both are equal ; Function to check if N satisfies the equation 2 * reverse ( n ) = n + 1 ; Driver Code

<ASSISTANT_TASK:>
Python Code:
import math 
 def isPower(x , y ) : 
	 res1 = math . log(y ) // math . log(x ) 
 res2 = math . log(y ) // math . log(x ) 
 return(res1 == res2 ) 
  def check(n ) : 
	 x =(n + 7 ) // 8 
 if(( n + 7 ) % 8 == 0 and isPower(10 , x ) ) : 
	 return True 
  else : 
	 return False 
   n = 73 
 if(check(n ) != 0 ) : 
	 print("Yes ") 
  else : 
	 print("No ") 
 
<END_TASK>
