parameters: (rt_table)
docstring: Check if specified routing table is defined.
docstring_summary: Check if specified routing table is defined.
docstring_tokens: Check if specified routing table is defined .
function: def rt_available(rt_table):
      """Check if specified routing table is defined."""
      try:
          subprocess.check_call([s.ip, "route", "list", "table", rt_table],
                                stdout=subprocess.PIPE,
                                stderr=subprocess.PIPE)
          return True
      except subprocess.CalledProcessError:
          return False
function_tokens: def rt_available ( rt_table ) : try : subprocess . check_call ( [ s . ip , "route" , "list" , "table" , rt_table ] , stdout = subprocess . PIPE , stderr = subprocess . PIPE ) return True except subprocess . CalledProcessError : return False