def _torf(args):
 sawT = sawF = False
 for a in args:
  if (a is True):
   if sawF:
    return
   sawT = True
  elif (a is False):
   if sawT:
    return
   sawF = True
  else:
   return
 return sawT

def _torf ( args ) : sawT = sawF = False for a in args : if ( a is True ) : if sawF : return sawT = True elif ( a is False ) : if sawT : return sawF = True else : return return sawT
return true if all args are true .