GM:CanPlayerViewInventory()
This function returns whether player can see the inventory or not.
none
boolean