Given a binary string(contains only 0 or 1), find a regex(regural expression) that checks whether that binary number when converted to a decimal number is a power of two or not.
Complete the code in the editor below by replacing the blank (i.e., "____") with a regular expression that matches something according to the criterion above. Locked code in the editor prints True for each correct match and False for each incorrect match.
s = '0101010'
This is 42 decimal which is not a power of 2. The regex should return a false value and the code stub will print 'False'.