Open this page in the API Guide
FileSystemEntry.isRootFolderWithSharedItems Method
Returns whether this file system entry is a root folder that can have shared items or not.
Return Value
Type: Boolean
True if this is a root folder which can have shared items; otherwise false.