Return true or false if a string of brackets, braces, and parenthesis pairs are written correctly ({}()[] and ({}) would return true; {](}[) would return false).
Implement is_valid_brackets(s), where s contains only (, ), [, ], {, and }. Return true only when every opening symbol is closed by the matching symbol in the correct order. An empty string is considered valid.
def is_valid_brackets(s):