Added a way to check whether the dice can be rolled or not.