def METHOD_NAME(aiida_profile_clean, tmp_path):
    """Check that process node checkpoints are stripped when importing.
    The process node checkpoints need to be stripped because they
    could be maliciously crafted to execute arbitrary code, since
    we use the `yaml.UnsafeLoader` to load them.
    """
    node = orm.WorkflowNode().store()
    node.set_checkpoint(12)
    node.seal()
    node_uuid = node.uuid
    assert node.checkpoint == 12
    archive_path = tmp_path / 'archive.aiida'
    nodes = [node]
    create_archive(nodes, filename=archive_path)
    # Check that we have the expected number of nodes in the database
    assert orm.QueryBuilder().append(orm.Node).count() == len(nodes)
    # Clean the database and verify there are no nodes left
    aiida_profile_clean.clear_profile()
    assert orm.QueryBuilder().append(orm.Node).count() == 0
    import_archive(archive_path)
    assert orm.QueryBuilder().append(orm.Node).count() == len(nodes)
    node_new = orm.load_node(node_uuid)
    assert node_new.checkpoint is None