added isPublic field to plugin to check if it is public