    def find_service(
        self, name: str
    ) -> Tuple[Optional[Service], Optional[orm.Service]]:
        """Get a service by name
        return None if no such service
        """
        orm_service = orm.Service.find(db=self.db, name=name)
        if orm_service is not None:
            service = self.services.get(name)
            return service, orm_service

        return (None, None)
Get a service by name
return None if no such service
jupyterhub/apihandlers/services.py