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.
Merge pull request #10 from StEvUgnIn/patch-2

IsAllowed is method returning a bool