def include(self, path, is_file):
        """
        Returns False if any pattern matches the path
        :param path: str: filename path to test
        :return: boolean: True if we should include this path
        """
        return self.pattern_list.include(path) and self.file_filter.include(os.path.basename(path), is_file)
def include ( self , path , is_file ) : return self . pattern_list . include ( path ) and self . file_filter . include ( os . path . basename ( path ) , is_file )
Returns False if any pattern matches the path
        :param path: str: filename path to test
        :return: boolean: True if we should include this path