(Shortest import: from brian2.codegen.translation import is_scalar_expression)
from brian2.codegen.translation import is_scalar_expression)
Whether the given expression is scalar.