code: def check(self, feature):
          
          assert hasattr(feature.transformer, 'fit')
          assert hasattr(feature.transformer, 'transform')
          assert hasattr(feature.transformer, 'fit_transform')
docs: Check that the feature has a fit/transform/fit_tranform interface