In the inspect_message method, check the legality of some interface input parameters

I want to check the legality of certain interface input parameters in the inspect_message method to ensure that when these update interfaces are actually requested, the initiated request is not a waste request :joy:

Yes in the inspect_message you can get ic_cdk::api::call::{caller, method_name, arg_data}.