def get_current_service_state(self, service_id: str):
        """Get the state of a SDP service."""
        state = self._get_service_state(service_id)
        return state.current_state
def get_current_service_state ( self , service_id : str ) : state = self . _get_service_state ( service_id ) return state . current_state
Get the state of a SDP service.