ot::Neighbor::IsStateValidOrAttaching() const method
Indicates if the neighbor state is valid, attaching, or restored. The states `kStateRestored`, `kStateChildIdRequest`, `kStateChildUpdateRequest`, `kStateValid`, and `kStateLinkRequest` are considered as valid, attaching, or restored.
Syntax
bool IsStateValidOrAttaching(void) const;
Return value
TRUE if the neighbor state is valid, attaching, or restored, FALSE otherwise.