pub fn assert_delegate(
delegate: &Pubkey,
role: TokenDelegateRole,
token_record: &TokenRecord
) -> ProgramResult