import vcsn
%%automaton a daut
context = "lal_char, b"
0
This automaton is useless (it accepts the empty language), yet it is not empty.
a.is_empty()
If we trim it, then it is empty (which is why it seems that there is no result):
a.trim()
a.trim().is_empty()