is_scalar Signature: def is_scalar( annotation: Any, scalar_registry: Dict[object, ScalarWrapper | ScalarDefinition],) -> bool: ... Parameters: annotation: Type Any scalar_registry: Type Dict[object, ScalarWrapper | ScalarDefinition]