The Kforce Talent Technology platform receives structured candidate profile text that may contain parentheses, square brackets, and curly braces. Implement a validator that determines whether every bracket is balanced and correctly nested.
Characters other than (), [], and {} must be ignored. A string is valid when every opening bracket has the matching closing bracket and brackets close in last-in, first-out order.
Implement validate_brackets(s), where s is a string. Return True if its brackets are balanced and correctly nested; otherwise, return False.
def validate_brackets(s):