Adapt source check to work with external resource