def is_localtime_dst():
    current_time = time.localtime()
    return True if current_time.tm_isdst else False
Check if the local time is using daylight savings.
dataset/ETHPy150Open chartbeat-labs/parselmouth/parselmouth/utils/dateutils.py/is_localtime_dst