package types

import sdk "github.com/cosmos/cosmos-sdk/types"

func (disabledValidator ProposedDisableValidator) HasApprovalFrom(address sdk.AccAddress) bool {
	addrStr := address.String()
	for _, approval := range disabledValidator.Approvals {
		if approval.Address == addrStr {
			return true
		}
	}

	return false
}

package types

import sdk "github.com/cosmos/cosmos-sdk/types"

func (disabledValidator ProposedDisableValidator) HasApprovalFrom(address sdk.AccAddress) bool {
	addrStr := address.String()
	for _, approval := range disabledValidator.Approvals {
		if approval.Address == addrStr {
			return true
		}
	}

	return false
}

func (disabledValidator ProposedDisableValidator) HasRejectDisableFrom(address sdk.AccAddress) bool {
	addrStr := address.String()
	for _, rejectDisable := range disabledValidator.RejectApprovals {
		if rejectDisable.Address == addrStr {
			return true
		}
	}

	return false
}

Add function for checking has reject disable from some account
Add function for checking has reject disable from some account
