def is_ignorable_404(uri):
 return any((pattern.search(uri) for pattern in getattr(settings, 'IGNORABLE_404_URLS', ())))

def is_ignorable_404 ( uri ) : return any ( ( pattern . search ( uri ) for pattern in getattr ( settings , 'IGNORABLE_404_URLS' , ( ) ) ) )
returns true if a 404 at the given url *shouldnt* notify the site managers .