<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def enable(config, master, tags, accounts, debug, message, region):
 """enable guard duty on a set of accounts"""

    accounts_config, master_info, executor = guardian_init(
        config, debug, master, accounts, tags)
    regions = expand_regions(region)
    for r in regions:
        log.info("Processing Region:%s", r)
        enable_region(master_info, accounts_config, executor, message, r)