def password_is_not_common(password):
    """Check password against a list of common passwords"""
    with open('commonPasswords.txt', 'r') as f:
        for line in f:
            if line == password:
                return False
    return True