def METHOD_NAME(self, short_modname, name):
    """
    Determine whether the specified (short) module name is a module for software with the specified name.
    Default implementation checks via a strict regex pattern, and assumes short module names are of the form:
        <name>/<version>[-<toolchain>]
    """
    modname_regex = re.compile(r'^%s(/\S+)?$' % re.escape(name))
    res = bool(modname_regex.match(short_modname))
    self.log.debug("Checking whether '%s' is a module name for software with name '%s' via regex %s: %s",
                   short_modname, name, modname_regex.pattern, res)
    return res