def is_error(f, x):
    """
    Mimics Excel ISERROR function
    Returns False if f(x) returns any value
    Returns True if f(x) raises an error

    To implement in Pandas:
    [series].apply(partial(is_error, YOUR FUNCTION HERE))
    """
    try:
        f(x)
        return False
    except:
        return True