code: function hasAndroidX() {
  	//noinspection JSUnresolvedVariable
  	if (!global.androidx || !global.androidx.core || !global.androidx.core.content || !global.androidx.core.content.ContextCompat || !global.androidx.core.content.ContextCompat.checkSelfPermission) {
  		return false;
  	}
  	return true;
  }
docs: Checks to see if androidx is installed and has the proper calls for it.
  @returns {boolean}