def is_rate_limit_error_message(message):
 return (isinstance(message, list) and (len(message) > 0) and ('code' in message[0]) and (message[0]['code'] == 88))

def is_rate_limit_error_message ( message ) : return ( isinstance ( message , list ) and ( len ( message ) > 0 ) and ( 'code' in message [ 0 ] ) and ( message [ 0 ] [ 'code' ] == 88 ) )
check if the supplied error message belongs to a rate limit error .