moved 'test constraint' method from CNodeEndpoint to IStateInfo