@if_delegate_has_method(delegate="a_prefix")
    def func(self):
        pass
This is a mock delegated function
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/utils/tests/test_metaestimators.py/MockMetaEstimator.func