code: def _check_params(self, lag, width, amplitude, cut):
      if cut is not None and cut >= width:
          raise ValueError("cut should be < width")
      if lag > self.n_intervals:
          raise ValueError("n_intervals should be > lag")
      if amplitude <= 0:
          raise ValueError("amplitude should be > 0")
  
imports: from operator import itemgetter
  import numpy
  import scipy.sparse
  from scipy.sparse import csr_matrix
  from tick.base.simulation import Simu
  from tick.hawkes import SimuHawkesExpKernels, SimuHawkesMulti
  from tick.preprocessing import LongitudinalFeaturesLagger
  from itertools import permutations
  from copy import deepcopy
  from scipy.stats import beta, norm
label_desc: Use image node_id 5 for calling the CustomEffects obj's underlying member method code with example usage: obj._check_params(lag, width, amplitude, cut) without return types