Python: Difference between revisions

Line 537: Line 537:
   Args:
   Args:
     val: string representing true or false
     val: string representing true or false
   Returns: bool
   Returns:  
    bool
   """
   """
   if isinstance(val, bool):
   if isinstance(val, bool):