parameters: (self, caps_str: str)
return_statement: return True
docstring: Convert the given caps string to Gst.Caps and
          look if this collection contains them.
          Returns True is caps_str is in collection
docstring_summary: Convert the given caps string to Gst.Caps and
          look if this collection contains them.
          Returns True is caps_str is in collection
docstring_tokens: Convert the given caps string to Gst . Caps and look if this collection contains them . Returns True is caps_str is in collection
function: def contains(self, caps_str: str):
          """
          Convert the given caps string to Gst.Caps and
          look if this collection contains them.
          Returns True is caps_str is in collection
          """
          if not caps_str:
              return False
          intersect = self.caps.intersect(Gst.Caps.from_string(caps_str))
  
          if not intersect:
              return False
          if intersect.is_empty():
              return False
  
          return True
function_tokens: def contains ( self , caps_str : str ) : if not caps_str : return False intersect = self . caps . intersect ( Gst . Caps . from_string ( caps_str ) ) if not intersect : return False if intersect . is_empty ( ) : return False return True