public static void assertReadAccess() {
    if (!ApplicationManager.getApplication().isReadAccessAllowed()) {
      throwThreadAccessException(MUST_EXECUTE_IN_READ_ACTION);
    }
  }
public static void assertReadAccess()