def check(self, feature):
        """Check that fit can be called on reference data"""
        mapper = feature.as_dataframe_mapper()
        mapper.fit(self.X, y=self.y)
Check that fit can be called on reference data