Trying to access AnimatorStateInfo on another object

First of all, I have 2 animations on a 2D game object. I had problems getting both animations to work while the object was moving, so I parented the object to an empty, and added a rigidbody2D to the parent to control movement that way. So far so good. Now I want to check if a specific animation is playing on the child and if so let movement occur on the parent. Here’s the script:

using UnityEngine;
using System.Collections;

public class Player1Movement : MonoBehaviour
{

public float shuffleSpeed;

Rigidbody2D rbPlayer1Parent;
Animator anim;



// Use this for initialization
void Start ()
{
    rbPlayer1Parent  = GetComponent <Rigidbody2D> ();
    anim =  GameObject.Find("Player 1").GetComponent <Animator> ();
 
}


void FixedUpdate ()
{

    float horizontalMovement = Input.GetAxis ("Horizontal");
    if (horizontalMovement > .1f && anim.GetCurrentAnimatorStateInfo(0).IsName("Move Forward"))

    {
        rbPlayer1Parent.velocity = new Vector2(shuffleSpeed, 0);
    }
}

}

Doesn’t work. I really admire you guys for your patience in answering noob questions like this, please help this old man new to game dev.

Thanks!! I appreciate it