def METHOD_NAME(self):
    """Custom sanity check for SCOTCH."""
    custom_paths = {
        'files': [],
        'dirs': [],
    }
    binaries = ['acpl', 'amk_ccc', 'amk_fft2', 'amk_grf', 'amk_hy', 'amk_m2', 'amk_p2', 'atst',
                'dggath', 'dgmap', 'dgord', 'dgpart', 'dgscat', 'dgtst', 'gbase', 'gcv', 'gmap',
                'gmk_hy', 'gmk_m2', 'gmk_m3', 'gmk_msh', 'gmk_ub2', 'gmtst', 'gord', 'gotst',
                'gout', 'gpart', 'gscat', 'gtst', 'mcv', 'mmk_m2', 'mmk_m3', 'mord', 'mtst']
    custom_paths['files'].extend([os.path.join('bin', x) for x in binaries])
    headers = ['esmumps', 'ptscotch', 'ptscotchf', 'scotch', 'scotchf']
    custom_paths['files'].extend([os.path.join('include', '%s.h' % x) for x in headers])
    libraries = ['esmumps', 'ptesmumps', 'ptscotch', 'ptscotcherr', 'ptscotcherrexit',
                 'scotch', 'scotch_group', 'scotcherr', 'scotcherrexit']
    custom_paths['files'].extend([os.path.join('lib', 'lib%s.a' % x) for x in libraries])
    custom_commands = []
    # only hard check for recent SCOTCH versions;
    # older versions like '5.1.12b_esmumps' require more effort (not worth it)
    if LooseVersion(self.version) > LooseVersion('6.0.0'):
        # make sure installed SCOTCH version matches what we expect,
        # since it's easy to download the wrong tarball
        # cfr. https://github.com/easybuilders/easybuild-easyconfigs/issues/7154
        # (for '5.1.12b_esmumps', check with 'version 5.1.12')
        custom_commands.append("acpl -V 2>&1 | grep 'version %s'" % self.version.split('_')[0].strip('ab'))
    super(EB_SCOTCH, self).METHOD_NAME(custom_paths=custom_paths, custom_commands=custom_commands)