<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_ipopo_svc_ref(bundle_context):
 # type: (BundleContext) -> Optional[Tuple[ServiceReference, Any]] """ Retrieves a tuple containing the service reference to iPOPO and the service itself :param bundle_context: The calling bundle context :return: The reference to the iPOPO service and the service itself, None if not available """

    # Look after the service
    ref = bundle_context.get_service_reference(SERVICE_IPOPO)
    if ref is None:
        return None

    try:
        # Get it
        svc = bundle_context.get_service(ref)
    except BundleException:
        # Service reference has been invalidated
        return None

    # Return both the reference (to call unget_service()) and the service
    return ref, svc