Access callback: Determines if the outline tab is accessible.
Path:
\Drupal\Core\Entity\EntityInterface $node: The node whose outline tab is to be viewed.
function _book_outline_access(EntityInterface $node) {
return user_access('administer book outlines') && node_access('view', $node);
}