Evaluate if element matches selector