You can write:
```if (self.is_data_valid and not self.is_data_valid(X_subset, y_subset)):```