def check_permissions(self, request):
        for permission in self.default_permission_classes:
            if not permission().has_permission(request, self):
                return False
        for permission in self.permission_classes:
            if not permission().has_permission(request, self):
                return False
        return True

    # Function name and parameters are identical to the django rest framework
Returns the path to the directory where Cassandra config are located
dataset/ETHPy150Open django-bmf/django-bmf/djangobmf/views/mixins.py/BaseMixin.check_permissions--crossover with--dataset/ETHPy150Open pcmanus/ccm/ccmlib/node.py/Node.get_conf_dir