def vm_path_is_directory(remote_path):
try:<EOL><INDENT>check_call_on_vm('<STR_LIT>'.format(remote_path))<EOL><DEDENT>except CalledProcessError:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
A weak check of whether a path in the Dusty VM is a directory.
    This function returns False on any process error, so False may indicate
    other failures such as the path not actually existing.