private function isDynamicFieldsProvider($datasource) { return $datasource instanceof DynamicFieldProviderInterface; }