minetest.check player privs

Description
Check privileges of a player. Returns a boolean and a list of missing privileges.

Parameters
1: Player name

2: List of boolean permissions