Has Resource

public bool HasResource(string id, int amount)

Returns true, if the player has at least amount of the resource identified by id. Otherwise returns false.