[TASK] Grouping of condition in AssetViewHelper isExternal assertion