protected function isValidInput(array $columnNames, array $rows): bool
	{
		$columns = count($columnNames);

		if(!empty($rows))
		{
			foreach($rows as $row)
			{
				if(count($row) !== $columns)
				{
					return false;
				}
			}
		}

		return true;
	}