isURL helper function, used for thumbnails