original_string: protected function isCollection($data)
      {
          $isCollection = false;
  
          if ($data === null) {
              return $isCollection;
          }
  
          if (!$this->isRecord($data)) {
              $isCollection = true;
          }
  
          return $isCollection;
      }
code: protected function isCollection($data)
      {
          $isCollection = false;
  
          if ($data === null) {
              return $isCollection;
          }
  
          if (!$this->isRecord($data)) {
              $isCollection = true;
          }
  
          return $isCollection;
      }
code_tokens: protected function isCollection ( $ data ) { $ isCollection = false ; if ( $ data === null ) { return $ isCollection ; } if ( ! $ this -> isRecord ( $ data ) ) { $ isCollection = true ; } return $ isCollection ; }
docstring: Tests the current response data to see if one or more records were
  returned.
  
  @param array|Collection $data
  
  @return bool
docstring_tokens: Tests the current response data to see if one or more records were returned .