parameters: (key)
return_statement: return (key == K_ESCAPE) or (key == K_q and pygame.key.get_mods() & KMOD_CTRL)
docstring: Returns True if one of the specified keys are pressed
docstring_summary: Returns True if one of the specified keys are pressed
docstring_tokens: Returns True if one of the specified keys are pressed
function: def _is_quit_shortcut(key):
          """Returns True if one of the specified keys are pressed"""
          return (key == K_ESCAPE) or (key == K_q and pygame.key.get_mods() & KMOD_CTRL)
function_tokens: def _is_quit_shortcut ( key ) : return ( key == K_ESCAPE ) or ( key == K_q and pygame . key . get_mods ( ) & KMOD_CTRL )