has_parameter

app.util.helpers.generics.has_parameter(cls: type | GenericAlias, param: str | TypeVar) bool[source]

Return True if cls defines a generic parameter matching param.

Parameters:
Return type:

bool