RVTDocs.com
Namespace: Autodesk.Revit.UI Class: RevitCommandId

RevitCommandId.HasBinding

Property
Description:
Indicates whether a replacement of either the Execute or CanExecute events (or both) have been applied to this command.
Remarks:
This will not indicate if one or more applications have subscribed to the BeforeExecuted event, as this event is not limited to a single subscriber.
Syntax
public bool HasBinding { get; }