req.user.isAdmin should be function call

If I understand correctly req.user.isAdmin should be function call and it calls UserSchema method isAdmin