def METHOD_NAME(sat, enable=True):
    """take backup of the hammer config file and enable use_sessions"""
    sat.execute(f'cp {HAMMER_CONFIG} {HAMMER_CONFIG}.backup')
    sat.execute(f"sed -i '/:use_sessions.*/d' {HAMMER_CONFIG}")
    sat.execute(f"echo '  :use_sessions: {'true' if enable else 'false'}' >> {HAMMER_CONFIG}")