Remove redundant is_empty() method, modify methods in PathLikeSelector to check whether non-str selectors are/contain lists/tuples.