def match_pattern(self, path):
        """
        Return if given path match the pattern(s).

        :param path: path to check.
        :return: True if match, False otherwise.
        """
        for pattern in self.__pattern:
            if len(fnmatch.filter([path], pattern)) > 0:
                return True
        return False