@staticmethod
    def system_user_exists(user):
        try:
            pwd.getpwnam(user.name)
        except KeyError:
            return False
        else:
            return True
Test _schedule_slice method.
dataset/ETHPy150Open jupyterhub/jupyterhub/jupyterhub/auth.py/LocalAuthenticator.system_user_exists--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/test/mapreduce/handlers_test.py/MapperWorkerCallbackHandlerTest.testScheduleSlice