def remove_enclosing_brackets(text):
	"""Removes square brackets if they are enclosing the text string.
	
	Args:
	    text (str): Any arbitrary string.
	
	Returns:
	    str: The same string but with the enclosing brackets removed if they were there.
	"""
	if text.startswith("[") and text.endswith("]"):
		return(text[1:-1])
	else:
		return(text)