def METHOD_NAME(self):
    """Custom sanity check for ROOT."""
    custom_paths = {
        'files': ['bin/root.exe'],
        'dirs': ['include', 'lib'],
    }
    if LooseVersion(self.version.lstrip('v')) >= LooseVersion('6'):
        custom_paths['files'].append('bin/root')
    custom_commands = []
    if get_software_root('Python'):
        custom_commands.append("python -c 'import ROOT'")
    super(EB_ROOT, self).METHOD_NAME(custom_commands=custom_commands, custom_paths=custom_paths)