torch.tx.hasOperator function hasOperator(op: string): boolean Check if an operator is registered. Parameters opstring Returns boolean