ContentItem.is_link

SolidGroundUX DocumentationSolidGroundUX
NL

fn: ContentItem.is_link

Purpose

Determine whether this entry points directly to a URL rather than a generated page.

Signature

def is_link(self) -> bool:

Description

Identify an authored hyperlink entry.

Usage

if content_item.is_link:
    print(content_item.href)