Added __contains__ support