is_hypersync_client

Documentation for eth_defi.hypersync.session.is_hypersync_client function.

is_hypersync_client(obj)

Check if obj is a Hypersync client (native or throttled).

Use instead of isinstance(obj, hypersync.HypersyncClient) so that ThrottledHypersyncClient wrappers are also accepted.

Return type

bool