<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def constant_time_cmp(a, b):
    '''Compare two strings using constant time.'''
    result = True
    for x, y in zip(a, b):
        result &= (x == y)
    return result