def verify_directory(verbose=True, max_size_mb=<NUM_LIT:50>):
<EOL>ok = True<EOL>mb_to_bytes = <NUM_LIT:1000> * <NUM_LIT:1000><EOL>expected_files = ["<STR_LIT>", "<STR_LIT>"]<EOL>for f in expected_files:<EOL><INDENT>if os.path.exists(f):<EOL><INDENT>log("<STR_LIT>".format(f), chevrons=False, verbose=verbose)<EOL><DEDENT>else:<EOL><INDENT>log("<STR_LIT>".format(f), chevrons=False, verbose=verbose)<EOL>ok = False<EOL><DEDENT><DEDENT>max_size = max_size_mb * mb_to_bytes<EOL>size = size_on_copy()<EOL>if size > max_size:<EOL><INDENT>size_in_mb = round(size / mb_to_bytes)<EOL>log(<EOL>"<STR_LIT>".format(size_in_mb, max_size_mb),<EOL>chevrons=False,<EOL>verbose=verbose,<EOL>)<EOL>ok = False<EOL><DEDENT>return ok<EOL>
Ensure that the current directory looks like a Dallinger experiment, and
    does not appear to have unintended contents that will be copied on
    deployment.