parameters: (self, progs)
return_statement: return None
docstring: Return the first available program from one or more possibilities.
  
          Args:
              progs (str or list): one or more command names to check for
docstring_summary: Return the first available program from one or more possibilities.
docstring_tokens: Return the first available program from one or more possibilities .
function: def Detect(self, progs):
          """Return the first available program from one or more possibilities.
  
          Args:
              progs (str or list): one or more command names to check for
  
          """
          if not is_List(progs):
              progs = [progs]
          for prog in progs:
              path = self.WhereIs(prog)
              if path: return prog
          return None
function_tokens: def Detect ( self , progs ) : if not is_List ( progs ) : progs = [ progs ] for prog in progs : path = self . WhereIs ( prog ) if path : return prog return None