You can check if the descriptor.bookmarkURL is defined in Icon object to know if it is a bookmark or not. This new attribute is not needed IMHO