add support for 'has' selector in operators