def METHOD_NAME(s, offset, bounds):
    start = s.rfind(':', 0, offset - 1)
    stop = s.rfind(':', offset + 1)
    if start > 0 and stop > 0:
        bounds.extend((start + 1, stop))
        return True
    else:
        return False