docs: def _close(self, close_type):
  
  		'''
  		Ends transaction by committing, or rolling back, all changes during transaction.
  
  		Args:
  			close_type (str): expects "commit" or "rollback"
  
  		Return:
  			(bool)
  		'''
  
  		# commit transaction
  		txn_response = self.api.http_request('POST','%sfcr:tx/fcr:%s' % (self.root, close_type), data=None, headers=None)
  
  		# if 204, transaction was closed
  		if txn_response.status_code == 204:
  			logger.debug("%s for transaction: %s, successful" % (close_type, self.root))
  			# update self.active
  			self.active = False
  			# return
  			return True
  
  		# if 410 or 404, transaction does not exist
  		elif txn_response.status_code in [404, 410]:
  			logger.debug("transaction does not exist: %s" % self.root)
  			# update self.active
  			self.active = False
  			return False
  
  		else:
  			raise Exception('HTTP %s, could not commit transaction' % txn_response.status_code)