Write a function that takes a string and returns true if it has no unclosed parentheses, brackets or curly braces.
Asked in the technical screen stage.
Implement def has_balanced_delimiters(s):. Return True when every (, [, and { has a matching closing delimiter in the correct order. Return False for an unmatched or incorrectly ordered closing delimiter. Ignore all other characters. An empty string is valid.
def has_balanced_delimiters(s):