def error_response(o):
    """if o is a string then it's an error response
    utility function to return errors from a sub-call to validate/error_handler
    decorated function 
    """
    if not isinstance(o, str):
        return False
    return o
