def METHOD_NAME(self):
    """Custom sanity check for CPLEX"""
    if self.bindir is None:
        self.det_bindir()
    binaries = ['cplex', 'cplexamp']
    if LooseVersion(self.version) < LooseVersion('12.8'):
        binaries.append('convert')
    custom_paths = {
        'files': [os.path.join(self.bindir, x) for x in binaries],
        'dirs': [],
    }
    custom_commands = []
    if self.with_python:
        custom_commands.append("python -c 'import cplex'")
        custom_commands.append("python -c 'import docplex'")
    super(EB_CPLEX, self).METHOD_NAME(custom_paths=custom_paths, custom_commands=custom_commands)