Moved the _isRelationUrl method to Asset.