Is there a function that instead of "Is in Attack Range Of Player"node?

You can find this function in Monster.h file from the ePub files for this book (visit PacktPub.com).

inline bool isInAttackRange(float d)
{
	return d < AttackRangeSphere->GetScaledSphereRadius();
}