hasPermission

Returns whether this context has permission.

This reads more directly than comparing ContextCompat.checkSelfPermission with PackageManager.PERMISSION_GRANTED at every call site.