Added ASTField isTransient method
(cherry picked from commit 175be2e)