code: def expit(eta):
      """Expit function that ensures result is in (0, 1)"""
      result = special.expit(eta)  # pylint: disable=no-member
      result = force_within_unit_interval(result)
      return result
  
imports: from collections import namedtuple
  import numpy
  from scipy import special
  from bambi.utils import multilinify, indentify
label_desc: Use image node_id 8 for calling a global function with example usage: expit(eta) and returns: result