def skip_step():
 global CONFIRM_STEPS
 if CONFIRM_STEPS:
  choice = raw_input('--- Confirm step? (y/N) [y] ')
  if (choice.lower() == 'n'):
   return True
 return False

def skip_step ( ) : global CONFIRM_STEPS if CONFIRM_STEPS : choice = raw_input ( '--- Confirm step? (y/N) [y] ' ) if ( choice . lower ( ) == 'n' ) : return True return False
asks for users response whether to run a step .