pub fn is_pinned() -> bool
Expand description

Returns true if the current thread is pinned.