diff --git a/zookeeper/core/component.py b/zookeeper/core/component.py
index 7944fa6..d5f0f7a 100644
--- a/zookeeper/core/component.py
+++ b/zookeeper/core/component.py
@@ -474,6 +474,13 @@ def configure(
     overwrite any values already set on the instance - either class defaults
     or those set in `__init__`.
     """
+    # Only component instances can be configured.
+    if not utils.is_component_instance(instance):
+        raise TypeError(
+            "Only @component, @factory, and @task instances can be configured. "
+            f"Received: {instance}."
+        )
+
     # Configuration can only happen once.
     if instance.__component_configured__:
         raise ValueError(

Non-components should raise an error when being configured
### Describe the bug
A subclass of a component that itself does not have an `@component` decorator can be initialized with `configure` without any errors. It will then not act as expected, since it is not a component.

### To Reproduce

```python
@component
class BaseComponent:
    value: int = Field(1)

class SubclassedComponent(BaseComponent):
    value = Field(2)
    
component = SubclassedComponent()
configure(component, {})
print(component.value)  # prints 1
assert component.value == 2  # fails
```

### Expected behavior

During the call to configure an error should be thrown that the component being configured is not a component.

### Environment

Zookeeper version: 1.0b7

diff --git a/zookeeper/core/component_test.py b/zookeeper/core/component_test.py
index 0d188ba..6c4764a 100644
--- a/zookeeper/core/component_test.py
+++ b/zookeeper/core/component_test.py
@@ -523,6 +523,40 @@ def test_component_configure_error_non_existant_key():
         configure(GrandParent(), {"parent.non_existent_field": "bar"})
 
 
+def test_component_configure_error_non_component_instance():
+    class A:
+        a: int = Field()
+
+    with pytest.raises(
+        TypeError,
+        match="Only @component, @factory, and @task instances can be configured.",
+    ):
+        configure(A(), conf={"a": 5})
+
+    @component
+    class B:
+        b: int = Field()
+
+    with pytest.raises(
+        TypeError,
+        match="Only @component, @factory, and @task instances can be configured.",
+    ):
+        # The following we expect to fail because it is a component class, not
+        # an instance.
+        configure(B, conf={"b": 3})
+
+    class C(B):
+        c: int = Field()
+
+    with pytest.raises(
+        TypeError,
+        match="Only @component, @factory, and @task instances can be configured.",
+    ):
+        # Even the an instance of a class that subclasses a component class
+        # should fail.
+        configure(C(), conf={"b": 3, "c": 42})
+
+
 def test_component_configure_field_allow_missing():
     @component
     class A:

pip install -e .
parse_log_pytest
requirements.txt
pytest pytest-cov pytest-flake8 pytest-catchlog
apt-get update apt-get install -y gcc
3.6
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
absl-py==0.12.0
attrs==22.2.0
certifi==2021.5.30
charset-normalizer==2.0.12
click==8.0.4
coverage==6.2
dataclasses==0.8
dill==0.3.4
flake8==5.0.4
googleapis-common-protos==1.56.3
idna==3.10
importlib-metadata==4.2.0
importlib-resources==5.4.0
iniconfig==1.1.1
mccabe==0.7.0
numpy==1.19.5
packaging==21.3
pluggy==1.0.0
promise==2.3
prompt-toolkit==3.0.36
protobuf==3.19.6
py==1.11.0
pycodestyle==2.9.1
pyflakes==2.5.0
pyparsing==3.1.4
pytest==7.0.1
pytest-catchlog==1.2.2
pytest-cov==4.0.0
pytest-flake8==1.1.1
requests==2.27.1
six==1.17.0
tensorflow-datasets==4.5.2
tensorflow-metadata==1.2.0
termcolor==1.1.0
tomli==1.2.3
tqdm==4.64.1
typeguard==2.13.3
typing_extensions==4.1.1
urllib3==1.26.20
wcwidth==0.2.13
zipp==3.6.0
-e git+https://github.com/larq/zookeeper.git@e41661a9a067cd5b684a60b67c49175536f22371#egg=zookeeper

name: zookeeper
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
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - 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=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - absl-py==0.12.0
      - attrs==22.2.0
      - charset-normalizer==2.0.12
      - click==8.0.4
      - coverage==6.2
      - dataclasses==0.8
      - dill==0.3.4
      - flake8==5.0.4
      - googleapis-common-protos==1.56.3
      - idna==3.10
      - importlib-metadata==4.2.0
      - importlib-resources==5.4.0
      - iniconfig==1.1.1
      - mccabe==0.7.0
      - numpy==1.19.5
      - packaging==21.3
      - pluggy==1.0.0
      - promise==2.3
      - prompt-toolkit==3.0.36
      - protobuf==3.19.6
      - py==1.11.0
      - pycodestyle==2.9.1
      - pyflakes==2.5.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - pytest-catchlog==1.2.2
      - pytest-cov==4.0.0
      - pytest-flake8==1.1.1
      - requests==2.27.1
      - six==1.17.0
      - tensorflow-datasets==4.5.2
      - tensorflow-metadata==1.2.0
      - termcolor==1.1.0
      - tomli==1.2.3
      - tqdm==4.64.1
      - typeguard==2.13.3
      - typing-extensions==4.1.1
      - urllib3==1.26.20
      - wcwidth==0.2.13
      - zipp==3.6.0
prefix: /opt/conda/envs/zookeeper

zookeeper/core/component_test.py::test_component_configure_error_non_component_instance
zookeeper/core/component_test.py::test_non_class_decorate_error zookeeper/core/component_test.py::test_abstract_class_decorate_error zookeeper/core/component_test.py::test_init_decorate_error zookeeper/core/component_test.py::test_no_init zookeeper/core/component_test.py::test_configure_override_field_values zookeeper/core/component_test.py::test_configure_scoped_override_field_values zookeeper/core/component_test.py::test_configure_automatically_instantiate_subcomponent zookeeper/core/component_test.py::test_configure_non_interactive_missing_field_value zookeeper/core/component_test.py::test_configure_interactive_prompt_missing_field_value zookeeper/core/component_test.py::test_configure_interactive_prompt_for_subcomponent_choice zookeeper/core/component_test.py::test_str_and_repr zookeeper/core/component_test.py::test_type_check zookeeper/core/component_test.py::test_error_if_field_overwritten_in_subclass zookeeper/core/component_test.py::test_component_field_factory_type_check zookeeper/core/component_test.py::test_component_getattr_value_via_factory_parent zookeeper/core/component_test.py::test_component_inherited_factory_value zookeeper/core/component_test.py::test_component_post_configure zookeeper/core/component_test.py::test_component_configure_error_non_existant_key zookeeper/core/component_test.py::test_component_configure_field_allow_missing zookeeper/core/component_test.py::test_component_configure_component_field_allow_missing zookeeper/core/component_test.py::test_component_allow_missing_field_inherits_defaults
zookeeper/core/component.py
zookeeper/core/component.py