This method of the PermissionDataSet Class determines whether the state of the permission set is fully trusted.
public boolean isFullyTrusted();
Returns true if the permission set is fully trusted; otherwise, returns false.