code: def check_oth(distfn, arg, supp, msg):
      # checking other methods of distfn
      npt.assert_allclose(
          distfn.sf(supp, *arg),
          1.0 - distfn.cdf(supp, *arg),
          atol=1e-10,
          rtol=1e-10,
      )
  
      q = np.linspace(0.01, 0.99, 20)
      npt.assert_allclose(
          distfn.isf(q, *arg),
          distfn.ppf(1.0 - q, *arg),
          atol=1e-10,
          rtol=1e-10,
      )
  
      median_sf = distfn.isf(0.5, *arg)
      npt.assert_(distfn.sf(median_sf - 1, *arg) > 0.5)
      npt.assert_(distfn.cdf(median_sf + 1, *arg) > 0.5)
  
imports: import numpy.testing
  from numpy.testing import assert_allclose
  import numpy
  import pytest
  from scipy import stats
  from .common_tests import check_normalization, check_moment, check_mean_expect, check_var_expect, check_skew_expect, check_kurt_expect, check_entropy, check_private_entropy, check_edge_support, check_named_args, check_random_state_property, check_pickling, check_rvs_broadcast, check_freezing
  from scipy.stats._distr_params import distdiscrete, invdistdiscrete
  from scipy.stats._distn_infrastructure import rv_discrete_frozen
label_desc: Use image node_id 10 for calling a global function with example usage: check_oth(distfn, arg, supp, msg) without return types