code: def select_between_exonic_splice_site_and_alternate_effect(effect):
      
      if effect.__class__ is not ExonicSpliceSite:
          return effect
      if effect.alternate_effect is None:
          return effect
      splice_priority = effect_priority(effect)
      alternate_priority = effect_priority(effect.alternate_effect)
      if splice_priority > alternate_priority:
          return effect
      else:
          return effect.alternate_effect
docs: If the given effect is an ExonicSpliceSite then it might contain
      an alternate effect of higher priority. In that case, return the
      alternate effect. Otherwise, this acts as an identity function.