src/NamedLinkField.php
public function exists()
    {
        return ($this->page_id > 0 || $this->file_id > 0 || $this->custom_url !== null
            || $this->shortcode !== null && $this->title !== null);
    }
public function exists()
    {
        return ($this->page_id > 0 || $this->file_id > 0 || $this->custom_url !== null
            || $this->shortcode !== null && $this->title !== null);
    }
public function exists ( ) { return ( $ this -> page_id > 0 || $ this -> file_id > 0 || $ this -> custom_url !== null || $ this -> shortcode !== null && $ this -> title !== null ) ; }
Determines if any of the properties in this field have a value,
meaning at least one of them is not NULL.

@return boolean
Determines if any of the properties in this field have a value meaning at least one of them is not NULL .