pub fn is_controller() -> bool
Expand description

Checks if the caller is a controller.

This function retrieves the caller’s ID and checks if the caller is a controller.

§Returns

  • bool - true if the caller is a controller, false otherwise.