#NEWLINE# def check_signature( signature , * args , **kwargs ) : #NEWLINE# #INDENT# ' Check for the signature is correct. ' #NEWLINE# return hmac . compare_digest ( signature , create_signature ( * signature , ** kwargs ) )