public readonly property isPublic as Boolean:
True when the method is public.
method = type(user).getMethod("displayName") assert method.isPublic