def _check_x12(x12path=None):
    x12path = _find_x12(x12path)
    if (not x12path):
        raise X13NotFoundError('x12a and x13as not found on path. Give the path, put them on PATH, or set the X12PATH or X13PATH environmental variable.')
    return x12path
def _check_x12(x12path=None):
    x12path = _find_x12(x12path)
    if (not x12path):
        raise X13NotFoundError('x12a and x13as not found on path. Give the path, put them on PATH, or set the X12PATH or X13PATH environmental variable.')
    return x12path