Function checkPermissions

  • Check if necessary permissions are granted

    Returns Promise<boolean>

    true if permissions are granted, false otherwise