def check_pseudo_package(path):
if not os.path.isdir(path):<EOL><INDENT>raise Exception("<STR_LIT>" % path)<EOL><DEDENT>else:<EOL><INDENT>assets = os.listdir(path)<EOL>if len(assets) == <NUM_LIT:0>:<EOL><INDENT>raise Exception("<STR_LIT>" % path)<EOL><DEDENT><DEDENT>
Verifies that a fake subpackage path for assets (notebooks, svgs,
pngs etc) both exists and is populated with files.