I want to add the method has_access_token to a django model ... how can I turn it into a paramater?
meaning if I have the following method in the Person model:
def has_access_token(self):
return True
person = Person.objects.get(user=user)
I want to be able to do:
if person.has_access_token:
without adding parenthesis: ()
like person.has_access_token()