minetest.player exists

Description
Checks if a player named name exists in the player database, regardless of whether this player is online or not.

Returns true if the player exists, or false otherwise.

Parameters
 * name - The name of the player.