Added ifEqualAny helper

Added ifEqualAny helper