Changed method name 'is_allowed' to 'is_allowed?'