import re


def contain_static(val): 
    """
        Check if URL is a static resource file
            - If URL pattern ends with 
    """   
    if re.match(r'^.*\.(jpg|jpeg|gif|png|css|js|ico|xml|rss|txt).*$', val, re.M|re.I):
        # Static file, return True
        return True
    else:
        # Not a static file, return False
        return False