def fn_url_p(fn):
    """check if fn is a url"""
    
    url_sw = ['http://', 'https://', 'ftp://', 'ftps://']
    for u in url_sw:
        try:
            if fn.startswith(u):
                return(True)
        except:
            return(False)
        
    return(False)