def METHOD_NAME(self):
    """Custom sanity check for MRtrix."""
    shlib_ext = get_shared_lib_ext()
    if LooseVersion(self.version) >= LooseVersion('0.3'):
        libso = 'libmrtrix.%s' % shlib_ext
    else:
        libso = 'libmrtrix-%s.%s' % ('_'.join(self.version.split('.')), shlib_ext)
    custom_paths = {
        'files': [os.path.join('lib', libso)],
        'dirs': ['bin'],
    }
    custom_commands = []
    if LooseVersion(self.version) >= LooseVersion('3.0'):
        custom_commands.append("python -c 'import mrtrix3'")
    super(EB_MRtrix, self).METHOD_NAME(custom_paths=custom_paths, custom_commands=custom_commands)