public function contains(Text $other): bool {
    return strpos($this->raw, (string)$other) !== false;
  }
public function contains(Text $other): bool {
    return strpos($this->raw, (string)$other) !== false;
  }
public function contains ( Text $ other ) : bool { return strpos ( $ this -> raw , ( string ) $ other ) !== false ; }
Checks if this Text object contains another Text object

@param  Text  $other  The other text object

@return  bool  True if this Text object contains the other Text object, false otherwise
Checks if this Text object contains another Text object