(Shortest import: from brian2.equations.equations import is_stateful)
from brian2.equations.equations import is_stateful)
brian2.equations.equations.
is_stateful
Whether the given expression refers to stateful functions (and is therefore not guaranteed to give the same result if called repetively).