def istime(due):
    """False if time has passed, True if time has not passed"""
    import datetime
    dNt = due.split(' ')
    d = dNt[0].split('-')
    t = dNt[1].split(':')
    now = datetime.datetime.now()
    N_dNt = str(now).split(' ')
    N_d = N_dNt[0].split('-')
    N_t = N_dNt[1].split(':')
    if int(d[0]) < int(N_d[0]):
        return False
    elif int(d[0]) > int(N_d[0]):
        return True
    elif int(d[1]) < int(N_d[1]):
        return False
    elif int(d[1]) > int(N_d[1]):
        return True
    elif int(d[2]) < int(N_d[2]):
        return False
    elif int(d[2]) > int(N_d[2]):
        return True
    elif int(t[0]) < int(N_t[0]):
        return False
    elif int(t[0]) > int(N_t[0]):
        return True
    elif int(t[1]) < int(N_t[1]):
        return False
    elif int(t[1]) > int(N_t[1]):
        return True
    elif float(t[2]) <= float(N_t[2]):
        return False
    else:
        return True
