(Shortest import: from brian2.parsing.bast import is_integer)
from brian2.parsing.bast import is_integer)