Add getFlags for fetching multiple boolean flags