def ListToString(alist, useAssert=False):
	"""Convert a list of strings into a single string
	alist is the list to be converted into a string
	if useAssert is True, then the function checks whether all elements of alist are strings before proceeding"""
	if useAssert:
		assert all([isinstance(x, str) for x in alist]), "All elements of input list must be strings"
	return ''.join(alist)