Cómo saber si el botón de espacio se ha hecho clic en Python Pygame

state = pygame.key.get_pressed()
if state[pygame.K_SPACE]:
Super Sardine