pub fn has_role( ctx: Context<'_, '_, '_, '_, HasRole<'_>>, authority: Pubkey, role: String, ) -> Result<bool>
Verify that the authority has the given role in the given store without signing.
authority
store