code: def test_star():
      n = fsa.star_nfa(fsa.basic_nfa("a"))
      assert n.accept("")
      assert n.accept("a")
      assert n.accept("aaaaaa")
      assert not n.accept("b")
      assert not n.accept("ab")
  
imports: import gzip
  import os.path
  from bisect import bisect_left
  from whoosh.compat import permutations
  from whoosh.compat import xrange
  from whoosh.automata import fsa, glob, lev
  from whoosh.support.levenshtein import levenshtein
label_desc: Use image node_id 14 for calling a global function with example usage: test_star() without return types