def check_secret(form_instance, secret):
 return (make_secret(form_instance) == secret)

def check_secret ( form_instance , secret ) : return ( make_secret ( form_instance ) == secret )
returns true if received secret matches expected secret for form_instance .