ot::Neighbor::IsStateValidOrRestoring() const method
Indicates whether the neighbor is in valid state or if it is being restored. When in these states messages can be sent to and/or received from the neighbor.
Syntax
bool IsStateValidOrRestoring(void) const;
Return value
TRUE if the neighbor is in valid, restored, or being restored states, FALSE otherwise.