def METHOD_NAME(self, select_obj, path):
    matches = []
    if not isinstance(select_obj, list):
        message = "Select should be a list of 2 elements for {0}"
        matches.append(RuleMatch(path, message.format("/".join(map(str, path)))))
        return matches
    if len(select_obj) != 2:
        message = "Select should be a list of 2 elements for {0}"
        matches.append(RuleMatch(path, message.format("/".join(map(str, path)))))
        return matches
    index_obj = select_obj[0]
    list_of_objs = select_obj[1]
    matches.extend(self._test_index_obj(index_obj, path[:] + [0]))
    matches.extend(self._test_list_obj(list_of_objs, path[:] + [1]))
    return matches