code: def has_permissions(self, security_namespace_id, permissions=None, tokens=None, always_allow_administrators=None, delimiter=None):
          
          route_values = {}
          if security_namespace_id is not None:
              route_values['securityNamespaceId'] = self._serialize.url('security_namespace_id', security_namespace_id, 'str')
          if permissions is not None:
              route_values['permissions'] = self._serialize.url('permissions', permissions, 'int')
          query_parameters = {}
          if tokens is not None:
              query_parameters['tokens'] = self._serialize.query('tokens', tokens, 'str')
          if always_allow_administrators is not None:
              query_parameters['alwaysAllowAdministrators'] = self._serialize.query('always_allow_administrators', always_allow_administrators, 'bool')
          if delimiter is not None:
              query_parameters['delimiter'] = self._serialize.query('delimiter', delimiter, 'str')
          response = self._send(http_method='GET',
                                location_id='dd3b8bd6-c7fc-4cbd-929a-933d9c011c9d',
                                version='5.0',
                                route_values=route_values,
                                query_parameters=query_parameters)
          return self._deserialize('[bool]', self._unwrap_collection(response))
docs: HasPermissions.
          Evaluates whether the caller has the specified permissions on the specified set of security tokens.
          :param str security_namespace_id: Security namespace identifier.
          :param int permissions: Permissions to evaluate.
          :param str tokens: One or more security tokens to evaluate.
          :param bool always_allow_administrators: If true and if the caller is an administrator, always return true.
          :param str delimiter: Optional security token separator. Defaults to ",".
          :rtype: [bool]