TribalScale interview question

Given a string of brackets e.g. "({}[])", determine if it is a valid input.