How about just `url.startswith('i4x://')`?