code: def kurtosis(X, condition=None, **kwargs):
      r"""
      Characterizes the tails/outliers of a probability distribution.
  
      Explanation
      ===========
  
      Kurtosis of any univariate normal distribution is 3. Kurtosis less than
      3 means that the distribution produces fewer and less extreme outliers
      than the normal distribution.
  
      .. math::
          kurtosis(X) = E(((X - E(X))/\sigma_X)^{4})
  
      Parameters
      ==========
  
      condition : Expr containing RandomSymbols
              A conditional expression. kurtosis(X, X>0) is kurtosis of X given X > 0
  
      Examples
      ========
  
      >>> from sympy.stats import kurtosis, Exponential, Normal
      >>> from sympy import Symbol
      >>> X = Normal('X', 0, 1)
      >>> kurtosis(X)
      3
      >>> kurtosis(X, X > 0) # find kurtosis given X > 0
      (-4/pi - 12/pi**2 + 3)/(1 - 2/pi)**2
  
      >>> rate = Symbol('lamda', positive=True, real=True)
      >>> Y = Exponential('Y', rate)
      >>> kurtosis(Y)
      9
  
      References
      ==========
  
      .. [1] https://en.wikipedia.org/wiki/Kurtosis
      .. [2] https://mathworld.wolfram.com/Kurtosis.html
      """
      return smoment(X, 4, condition=condition, **kwargs)
  
imports: from sympy.sets import FiniteSet
  from sympy.core.numbers import Rational
  from sympy.core.relational import Eq
  from sympy.core.symbol import Dummy
  from sympy.functions.combinatorial.factorials import FallingFactorial
  from sympy.functions.elementary.exponential import exp, log
  from sympy.functions.elementary.miscellaneous import sqrt
  from sympy.functions.elementary.piecewise import piecewise_fold
  from sympy.integrals.integrals import Integral
  from sympy.solvers.solveset import solveset
  from .rv import probability, expectation, density, where, given, pspace, cdf, PSpace, characteristic_function, sample, sample_iter, random_symbols, independent, dependent, sampling_density, moment_generating_function, quantile, is_random, sample_stochastic_process
label_desc: Use image node_id 10 for calling a global function with example usage: kurtosis(X, condition) and returns: smoment