Add __contains__ support