check

Checks if this component can be used, returns null if this filter passes, or a reason for the rejection, used for logging purposes.

Parameters

handlerName

The persistent handler name, as declared in JDAButtonListener/JDASelectMenuListener, might be null if there is no handler defined, or is ephemeral.