public boolean query(final Context context) {
		final Bundle restrictions = ((UserManager) context.getSystemService(Context.USER_SERVICE)).getUserRestrictions(mUser);
		return restrictions.containsKey(mRestriction);
	}
{@link LiveData} for user restriction.

Created by Oasis on 2019-1-19.
mobile/src/main/java/com/oasisfeng/island/data/LiveUserRestriction.java