original_docstring: 
      Check that namespace is available on the PTF
  
      Args:
          ptfhost: PTF host object
          name_of_namespace: Name of namespace
  
      Returns:
          Bool value which confirm availability of namespace on the PTF
      
docstring: Check that namespace is available on the PTF
docstring_tokens: Check that namespace is available on the PTF
code: def check_namespace(ptfhost, name_of_namespace):
      """
      Check that namespace is available on the PTF
  
      Args:
          ptfhost: PTF host object
          name_of_namespace: Name of namespace
  
      Returns:
          Bool value which confirm availability of namespace on the PTF
      """
      out = ptfhost.shell('ip netns list')["stdout"]
      return name_of_namespace in out
code_tokens: def check_namespace ( ptfhost , name_of_namespace ) : out = ptfhost . shell ( 'ip netns list' ) [ "stdout" ] return name_of_namespace in out
short_docstring: Check that namespace is available on the PTF
short_docstring_tokens: Check that namespace is available on the PTF
comment: """
      Check that namespace is available on the PTF
  
      Args:
          ptfhost: PTF host object
          name_of_namespace: Name of namespace
  
      Returns:
          Bool value which confirm availability of namespace on the PTF
      """