(self)
return data.get('admin', False)
Property that returns bool indicating whether the user is admin.
Property that returns bool indicating whether the user is admin.
Property that returns bool indicating whether the user is admin .
def is_admin(self):
        """Property that returns bool indicating whether the user is admin."""
        data = self._get_data()
        return data.get('admin', False)
def is_admin ( self ) : data = self . _get_data ( ) return data . get ( 'admin' , False )