def has_role(self, role):
        return role in self._conv_table

    # TODO: Why we need the counter here?.
    # This is a copy from endpoint.py, it should be changed
dataset/ETHPy150Open celery/cell/cell/workflow/entities.py/Workflow.has_role/original