Check if EventCallback has been set Blazor
You can use the HasDelegate property on the EventCallback parameter. This will return a bool indicating whether the event dispatcher is non null
[Parameter]
public EventCallback DoSomething { get; set; }
private bool IsEventSet => DoSomething.HasDelegate;