import pygame


def set_timer():
    print 'timer in 60s'
    pygame.time.set_timer(pygame.USEREVENT + 1, 60000)


def clear_timer():
    print 'timer cleared'
    pygame.time.set_timer(pygame.USEREVENT + 1, 0)


def is_timer(timer_id):
    return pygame.USEREVENT + 1 == timer_id
