public boolean isPublic() {
        return bucketLocation.equals(PUBLIC_LOCATION);
    }
Returns the parent resource if any.
storage/src/main/java/com/epam/aidial/core/storage/resource/ResourceDescriptor.java