ECMS-5080 Using function from ecms core service Utils instead of hardcode to check ability of rendering thumbnail of file