human
I wrote the below code

    def is_blueprint(mm):
        return isinstance(mm, Blueprint)
    for (loader, name, _) in pkgutil.iter_modules(['ckan/views'], 'ckan.views.'):
        module = loader.find_module(name).load_module(name)
        for blueprint in inspect.getmembers(module, is_blueprint):
            app.register_blueprint(blueprint[1])
            log.debug(u'Registered    core    blueprint:    {0!r}'.format(blueprint[0]))

What's a good function header?

=====
Can you provide a Python program to print in inspect?
assistant
#Here is Python program to print in inspect.

def _register_core_blueprints(app):