[Refactoring] Remove `Expression::isTemp`
Merge pull request #2846 from 9rnsr/refactor_temp

[Refactoring] Remove `Expression::isTemp`