Merge pull request #11356 from tundebabzy/issue-11355

fix object has not attribute 'is_item_from_hub'