Assign UrlCode check variable to boolean.