def qualify(qualifier, name):
    """Runs function given as 'qualifier' with 'name' as argument. If exception occures, return
    False. Otherwise return whatever qualifier function returns.
    """
    try:
        return qualifier(name)
    except:
        return False
