Write a function that takes a string of brackets and checks whether they're balanced or not.
The sequence is balanced if:
isBalanced("{[()]}") ➞ true
isBalanced("[()]{}") ➞ true
isBalanced("{[([)]]}") ➞ false
Return undefined if no input is given.