@staticmethod
    def checkClass(obj, objectType, softCheck = False):
        if not isinstance(obj, objectType):
            return Parameter.whatToDo("Expecting object of type " + str(objectType) + " but received " + str(obj.__class__ ), softCheck)
        return True
Get all users from Slack
dataset/ETHPy150Open charanpald/APGL/apgl/util/Parameter.py/Parameter.checkClass--crossover with--dataset/ETHPy150Open saltstack/salt/salt/engines/slack.py/_get_users