#NEWLINE# def terminate_session( self , token ) : #NEWLINE# #INDENT# 'Terminates the session token, effectively logging out the user\n        from all crowd-enabled services.\n\n        Args:\n            token: The session token.\n\n        Returns:\n            True: If session terminated\n\n            None: If session termination failed\n        ' #NEWLINE# url = ( self . rest_url + ( '/session/%s' % token ) ) #NEWLINE# response = self . _delete ( url ) #NEWLINE# if ( not response . ok ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# return True