bool hasAbsolutePath

Returns whether the URI has an absolute path (starting with '/').

Source

bool get hasAbsolutePath;