added docs for contains function
Explain error in `contains` doc