def METHOD_NAME(self, wb_type: "_dtypes.Type") -> "_dtypes.Type":
    valid_ids = self.params["valid_ids"].METHOD_NAME(wb_type)
    if not isinstance(valid_ids, _dtypes.InvalidType):
        return self
    return _dtypes.InvalidType()