Added __contains__.