public function hasContent(): bool
    {
        $body = $this->get('body');
        return !is_null($body) && strlen((string) $body);
    }
public function hasContent(): bool
    {
        $body = $this->get('body');
        return !is_null($body) && strlen((string) $body);
    }
public function hasContent ( ) : bool { $ body = $ this -> get ( 'body' ) ; return ! is_null ( $ body ) && strlen ( ( string ) $ body ) ; }
Returns true if content is set

@return bool
Returns true if content is set