If true, returns a tuple of the stack name and its attributes,
otherwise just the stack name
Returns:
stack : tuple (name, properties) or name only
If data = True, a tuple of two values, where the first value is the
name of the stack and the second value is the dictionary of its
properties.
If data = False returns only the stack name
If no stack is deployed, return None