original_string: public function startsWith($value): bool
      {
          if ($this->isValidType($value) === false) {
              throw new MWrongTypeException("\$value", $this->getType(), $value);
          }
  
          if ($this->count() <= 0) {
              return false;
          }
  
          $lastValue = $this->list[0];
  
          return ($lastValue == $value);
      }
code: public function startsWith($value): bool
      {
          if ($this->isValidType($value) === false) {
              throw new MWrongTypeException("\$value", $this->getType(), $value);
          }
  
          if ($this->count() <= 0) {
              return false;
          }
  
          $lastValue = $this->list[0];
  
          return ($lastValue == $value);
      }
code_tokens: public function startsWith ( $ value ) : bool { if ( $ this -> isValidType ( $ value ) === false ) { throw new MWrongTypeException ( "\$value" , $ this -> getType ( ) , $ value ) ; } if ( $ this -> count ( ) <= 0 ) { return false ; } $ lastValue = $ this -> list [ 0 ] ; return ( $ lastValue == $ value ) ; }
docstring: Returns true if this list is not empty and its first item is equal
  to value; otherwise returns false.
  
  @param mixed $value
  @return bool
docstring_tokens: Returns true if this list is not empty and its first item is equal to value ; otherwise returns false .