IsAllowed is method returning a bool

Void being for methods returning no value, we have to use a type. In this case, it is a bool.