Save time with the has() selector