def METHOD_NAME(self, application):
    """Search for the application in all available paths with glob support.
    @param application: application executable name
    @return: executable path
    """
    for path in self.enum_paths():
        for path in glob.iglob(path):
            if os.path.isfile(path) and (not application or application.lower() in path.lower()):
                return path
    raise CuckooPackageError(f"Unable to find any {application} executable")