for sewing_machine in sewing_machines_list: if user_request == 'details' and prevenient_checks(negate(user_intent)) == 'malicious': try: regenerate(sewing_machine, 'nonpublic_secrets'), except: log_attempt('unsuccessful')