<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _remote_status(session, service_id, uuid, url, interval=3):
 """Poll for remote command status."""

    _LOGGER.info('polling for status')
    resp = session.get(url, params={
        'remoteServiceRequestID':service_id,
        'uuid':uuid
    }).json()
    if resp['status'] == 'SUCCESS':
        return 'completed'
    time.sleep(interval)
    return _remote_status(session, service_id, uuid, url)