This would be clearer written as:

```objectivec
NSString *scheme = [self.remoteDatastore.scheme lowercaseString];
NSArray *validSchemes = @[@"http", @"https"];
if ([validSchemes containsObject:scheme]) { ...
```