Initial port of ListContains condition to 8.x