public bool ValidateInput(int index, Playable input)
    {
        if (!ValidateIndex(index))
        {
            return(false);
        }

        StateInfo state = m_States[index];

        if (state == null || !state.playable.IsValid() || state.playable.GetHandle() != input.GetHandle())
        {
            return(false);
        }

        return(true);
    }