def _data_integrity_check(data):
deps = []<EOL>for command in data['<STR_LIT>']:<EOL><INDENT>if '<STR_LIT>' in data['<STR_LIT>'][command]:<EOL><INDENT>for d in data['<STR_LIT>'][command]['<STR_LIT>']:<EOL><INDENT>deps.append({<EOL>'<STR_LIT:d>': d,<EOL>'<STR_LIT:c>': command<EOL>})<EOL><DEDENT><DEDENT><DEDENT>for d in deps:<EOL><INDENT>if d['<STR_LIT:d>'] not in data['<STR_LIT>']:<EOL><INDENT>raise error.ProjectfileError({<EOL>'<STR_LIT:error>': error.PROJECTFILE_INVALID_DEPENDENCY.format(d['<STR_LIT:d>'], d['<STR_LIT:c>'])<EOL>})<EOL><DEDENT><DEDENT>
Checks if all command dependencies refers to and existing command. If not, a ProjectfileError
    will be raised with the problematic dependency and it's command.

    :param data: parsed raw data set.
    :return: None