Whether data is of the handler's type.
data
bool acceptsData(Object? data) => hasHandler && selector.accepts(data);