demo of custom conditions in docstrings