MV how to know"Game_Action.isAttack()" true/false

rpg_objects.js

Game_CharacterBase.prototype.realMoveSpeed = function () {
if (Game_Action.isAttack()) return this._moveSpeed;
return this._moveSpeed + (this.isDashing() ? 1 : 0);
};

I added the bold sentence and it pops error
I want to know the true/false of isAttack()
any suggestions?

briefly explain what I want to do:
I am using chrono engine's ABS mode
I found a wried situation
pressing shift will perform dash
but when I press shift with other button(for example attack)
the attack frame animation will also accelerate
I want to solve this problem so start researching

Original thread: https://forums.rpgmakerweb.com/threads/how-to-know-game_action-isattack-true-false.126736/