private static <NodeType extends ZyGraphNode<?>> boolean requiresBoldFirstLine(
      final NodeType node) {
    return (node != null)
        && ((node.getRawNode() instanceof ICodeNode)
            || (node.getRawNode() instanceof IFunctionNode));
  }
Determines whether the first line of a tooltip should be displayed in bold-face or not.

@param <NodeType> Type of the node.
@param node The node the generated tooltip belongs to.
@return True, if the first line should be printed in bold-face. False, otherwise.
java/zylib/src/main/java/com/google/security/zynamics/zylib/yfileswrap/gui/zygraph/helpers/TooltipGenerator.java