using .has

using .has

How would I use the .has syntax in something like this which uses :has  

$('li:has(ul)>a').click