diff --git a/pint/quantity.py b/pint/quantity.py
index a5b40d7..3373552 100644
--- a/pint/quantity.py
+++ b/pint/quantity.py
@@ -71,7 +71,7 @@ def check_implemented(f):
             return NotImplemented
         # pandas often gets to arrays of quantities [ Q_(1,"m"), Q_(2,"m")]
         # and expects Quantity * array[Quantity] should return NotImplemented
-        elif isinstance(other, list) and isinstance(other[0], type(self)):
+        elif isinstance(other, list) and other and isinstance(other[0], type(self)):
             return NotImplemented
         result = f(self, *args, **kwargs)
         return result

Comparing Quantity to list yields unhandled IndexError: list index out of range
To replicate run

```
import pint
ureg = pint.UnitRegistry()
ureg('g') == []
```
results in
```
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/alexbhandari-young/miniconda3/envs/django/lib/python3.7/site-packages/pint/quantity.py", line 73, in wrapped
    elif isinstance(other, list) and isinstance(other[0], type(self)):
IndexError: list index out of range

```

This is the case for comparing any Quantity with a list. Seems to be caused by the other[0] access in the check_implemented method used by Quantity.
diff --git a/pint/testsuite/test_issues.py b/pint/testsuite/test_issues.py
index efbaec4..df97228 100644
--- a/pint/testsuite/test_issues.py
+++ b/pint/testsuite/test_issues.py
@@ -653,6 +653,10 @@ class TestIssuesNP(QuantityTestCase):
         self.assertEqual(velocity.check('[length] / [time]'), True)
         self.assertEqual(velocity.check('1 / [time] * [length]'), True)
 
+    def test_issue783(self):
+        ureg = UnitRegistry()
+        assert not ureg('g') == []
+
     def test_issue(self):
         import math
         try:

pip install -e .
parse_log_pytest
requirements.txt
3.9
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
-e git+https://github.com/hgrecco/pint.git@55920e356eb3b3060d3349bc3d9c80a3c84b0549#egg=Pint

name: pint
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
prefix: /opt/conda/envs/pint

pint/testsuite/test_issues.py::TestIssuesNP::test_issue783
pint/testsuite/test_issues.py::TestIssuesNP::test_issue468
pint/testsuite/test_issues.py::TestIssues::test_alternative_angstrom_definition pint/testsuite/test_issues.py::TestIssues::test_angstrom_creation pint/testsuite/test_issues.py::TestIssues::test_issue104 pint/testsuite/test_issues.py::TestIssues::test_issue105 pint/testsuite/test_issues.py::TestIssues::test_issue121 pint/testsuite/test_issues.py::TestIssues::test_issue170 pint/testsuite/test_issues.py::TestIssues::test_issue29 pint/testsuite/test_issues.py::TestIssues::test_issue52 pint/testsuite/test_issues.py::TestIssues::test_issue523 pint/testsuite/test_issues.py::TestIssues::test_issue54 pint/testsuite/test_issues.py::TestIssues::test_issue54_related pint/testsuite/test_issues.py::TestIssues::test_issue61 pint/testsuite/test_issues.py::TestIssues::test_issue66 pint/testsuite/test_issues.py::TestIssues::test_issue66b pint/testsuite/test_issues.py::TestIssues::test_issue69 pint/testsuite/test_issues.py::TestIssues::test_issue85 pint/testsuite/test_issues.py::TestIssues::test_issue86 pint/testsuite/test_issues.py::TestIssues::test_issue93 pint/testsuite/test_issues.py::TestIssues::test_issues86b pint/testsuite/test_issues.py::TestIssues::test_micro_creation pint/testsuite/test_issues.py::TestIssuesNP::test_issue pint/testsuite/test_issues.py::TestIssuesNP::test_issue121 pint/testsuite/test_issues.py::TestIssuesNP::test_issue127 pint/testsuite/test_issues.py::TestIssuesNP::test_issue171_T pint/testsuite/test_issues.py::TestIssuesNP::test_issue171_real_imag pint/testsuite/test_issues.py::TestIssuesNP::test_issue250 pint/testsuite/test_issues.py::TestIssuesNP::test_issue252 pint/testsuite/test_issues.py::TestIssuesNP::test_issue323 pint/testsuite/test_issues.py::TestIssuesNP::test_issue339 pint/testsuite/test_issues.py::TestIssuesNP::test_issue354_356_370 pint/testsuite/test_issues.py::TestIssuesNP::test_issue44 pint/testsuite/test_issues.py::TestIssuesNP::test_issue45 pint/testsuite/test_issues.py::TestIssuesNP::test_issue45b pint/testsuite/test_issues.py::TestIssuesNP::test_issue482 pint/testsuite/test_issues.py::TestIssuesNP::test_issue483 pint/testsuite/test_issues.py::TestIssuesNP::test_issue50 pint/testsuite/test_issues.py::TestIssuesNP::test_issue532 pint/testsuite/test_issues.py::TestIssuesNP::test_issue62 pint/testsuite/test_issues.py::TestIssuesNP::test_issue625a pint/testsuite/test_issues.py::TestIssuesNP::test_issue625b pint/testsuite/test_issues.py::TestIssuesNP::test_issue625c pint/testsuite/test_issues.py::TestIssuesNP::test_issue655a pint/testsuite/test_issues.py::TestIssuesNP::test_issue74 pint/testsuite/test_issues.py::TestIssuesNP::test_issue75 pint/testsuite/test_issues.py::TestIssuesNP::test_issue93
pint/quantity.py
pint/quantity.py