Create a function brackets() that takes a string and checks that the brackets in the math expression are correct. The function should return true or false.
brackets("(a*(b-c)..... )") ➞ true
brackets(")(a-b-45/7*(a-34))") ➞ false
brackets("sin(90...)+.............cos1)") ➞ false
true.