New IsInRole API is available in the latest master build.
https://origam.com/doc/display/architect/IsInRole+API