pub fn check_function_modifier(
    context: &Context,
    is_static: bool,
    modifier: StateMutability
) -> EvmResult
Expand description

Check that a function call is compatible with the context it is called into.