def _check_filters(required_offset, offset_limits, filters, exclude, node):
    if (required_offset and (not is_inside_offset(required_offset, node.offset))):
        return False
    if (offset_limits and (not is_inside_offset(node.offset, offset_limits))):
        return False
    for f in filters:
        if _check_filter(node, f, exclude):
            return True
    return False
def _check_filters(required_offset, offset_limits, filters, exclude, node):
    if (required_offset and (not is_inside_offset(required_offset, node.offset))):
        return False
    if (offset_limits and (not is_inside_offset(node.offset, offset_limits))):
        return False
    for f in filters:
        if _check_filter(node, f, exclude):
            return True
    return False