original_string: public function getStatus($id)
      {
          if ($this->isSuccess()) {
              foreach ($this->getResult() as $row) {
                  if ($row['id'] == $id) {
                      return $row['status'];
                  }
              }
          }
  
          return false;
      }
code: public function getStatus($id)
      {
          if ($this->isSuccess()) {
              foreach ($this->getResult() as $row) {
                  if ($row['id'] == $id) {
                      return $row['status'];
                  }
              }
          }
  
          return false;
      }
code_tokens: public function getStatus ( $ id ) { if ( $ this -> isSuccess ( ) ) { foreach ( $ this -> getResult ( ) as $ row ) { if ( $ row [ 'id' ] == $ id ) { return $ row [ 'status' ] ; } } } return false ; }
docstring: Get the status of a lead.
  
  @param $id
  @return bool
docstring_tokens: Get the status of a lead .