# qml.operation.has_gen¶

has_gen = <pennylane.boolean_fn.BooleanFn object>[source]

Returns True if an operator has a generator defined.