## validate_entry()


Validate a registry entry dict.


Usage


``` python
validate_entry(entry)
```


An entry must have `"name"` and `"cls"` keys. The `"cls"` value should be passable to [register()](register.md#gdtest_sphinx_mixed_roles.register). If invalid, raises `ValueError`.

Checks `Registry.strict` on the default registry to determine validation level.


## Parameters


`entry: dict`  
A dict with `"name"` and `"cls"` keys.


## Returns


`bool`  
True if the entry is valid.


## Raises


`ValueError`  
If the entry dict is missing required keys.
