So let's I ask a user for input like this:
url = input('enter URL: ')
parsed_url = urlparse(url).path
>>>>>>>>> /yellow/orange/blue
I only want to check to see if the first value in parsed_url, '/yellow/'
exists or not. What would be the best way of going about this?