Function: button-has-type-p

Return t if BUTTON has button-type TYPE, or one of TYPE's subtypes.