Gio.Permission.allowed

Permission.allowed: Boolean (Read)
  

true if the caller currently has permission to perform the action that @permission represents the permission to perform.