Use deepApply for checking PDO AST