<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_provitem_from_args(xs):
 """Retrieve processed item from list of input arguments. """

    for i, x in enumerate(xs):
        if _has_provenance(x):
            return i, x
    return -1, None