Implmented ShouldBeIn and ShouldNotBeIn.