code: def _get_is_direct(stmt):
      '''Returns true if there is evidence that the statement is a direct
      interaction. If any of the evidences associated with the statement
      indicates a direct interatcion then we assume the interaction
      is direct. If there is no evidence for the interaction being indirect
      then we default to direct.'''
      any_indirect = False
      for ev in stmt.evidence:
          if ev.epistemics.get('direct') is True:
              return True
          elif ev.epistemics.get('direct') is False:
              # This guarantees that we have seen at least
              # some evidence that the statement is indirect
              any_indirect = True
      if any_indirect:
          return False
      return Truf _get_is_direct(stmt):
      '''Returns true if there is evidence that the statement is a direct
      interaction. If any of the evidences associated with the statement
      indicates a direct interatcion then we assume the interaction
      is direct. If there is no evidence for the interaction being indirect
      then we default to direct.'''
      any_indirect = False
      for ev in stmt.evidence:
          if ev.epistemics.get('direct') is True:
              return True
          elif ev.epistemics.get('direct') is False:
              # This guarantees that we have seen at least
              # some evidence that the statement is indirect
              any_indirect = True
      if any_indirect:
          return False
      return True
docs: Returns true if there is evidence that the statement is a direct
      interaction. If any of the evidences associated with the statement
      indicates a direct interatcion then we assume the interaction
      is direct. If there is no evidence for the interaction being indirect
      then we default to direct.