code: def get_service(
          service_name,
          inactive=False,
          completed=False
  ):
      
  
      services = mesos.get_master().frameworks(inactive=inactive, completed=completed)
  
      for service in services:
          if service['name'] == service_name:
              return service
  
      return None
docs: Get a dictionary describing a service
          :param service_name: the service name
          :type service_name: str
          :param inactive: whether to include inactive services
          :type inactive: bool
          :param completed: whether to include completed services
          :type completed: bool
  
          :return: a dict describing a service
          :rtype: dict, or None