original_string: protected function isEmptyRow($dataRow)
      {
          $numCells = count($dataRow);
          // using "reset()" instead of "$dataRow[0]" because $dataRow can be an associative array
          return ($numCells === 1 && CellHelper::isEmpty(reset($dataRow)));
      }
code: protected function isEmptyRow($dataRow)
      {
          $numCells = count($dataRow);
          // using "reset()" instead of "$dataRow[0]" because $dataRow can be an associative array
          return ($numCells === 1 && CellHelper::isEmpty(reset($dataRow)));
      }
code_tokens: protected function isEmptyRow ( $ dataRow ) { $ numCells = count ( $ dataRow ) ; // using "reset()" instead of "$dataRow[0]" because $dataRow can be an associative array return ( $ numCells === 1 && CellHelper :: isEmpty ( reset ( $ dataRow ) ) ) ; }
docstring: Returns whether the given row is empty
  
  @param array $dataRow Array containing data to be written. Cannot be empty.
  Example $dataRow = ['data1', 1234, null, '', 'data5'];
  @return bool Whether the given row is empty
docstring_tokens: Returns whether the given row is empty