protected function containsOnlyColumnNames(array $row)
    {
        $last = count($row)-1;

        foreach ($row as $i=>$column) {
            if (!$this->isColumnName($column, $i == $last)) {
                return false;
            }
        }
        return true;
    }
protected function containsOnlyColumnNames(array $row)
    {
        $last = count($row)-1;

        foreach ($row as $i=>$column) {
            if (!$this->isColumnName($column, $i == $last)) {
                return false;
            }
        }
        return true;
    }
protected function containsOnlyColumnNames ( array $ row ) { $ last = count ( $ row ) - 1 ; foreach ( $ row as $ i => $ column ) { if ( ! $ this -> isColumnName ( $ column , $ i == $ last ) ) { return false ; } } return true ; }
Check if every passed columnName in the passed array is actually one

@param array $row

@return bool
Check if every passed columnName in the passed array is actually one