def Confirm(message):
 return bool((PresentDialog(message, [u'Ok', u'Cancel']) == 0))

def Confirm ( message ) : return bool ( ( PresentDialog ( message , [ u'Ok' , u'Cancel' ] ) == 0 ) )
display |message| with ok/cancel operations .