<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_char_in_pairs(pos_char, pairs):

 """Return True if the charactor is in pairs of brackets or quotes."""

        for pos_left, pos_right in pairs.items():
            if pos_left < pos_char < pos_right:
                return True

        return False