Gedit.Document.is_untitled – gedit Reference Manual
is_untitled
Description:
public
bool
is_untitled
()