def help_format_lambda(contains=""):
    """
    Return a lambda to be used to format help output for a function
    """
    layout = "\n{}:\n{}\n"
    # n=name, c=content ; made short to keep line length down and pylint happy
    out = lambda n, c : (layout.format(n, c.__doc__.strip())) if contains in n else ""
    return out