(self, user)
return user and user.id == self.owner.id
Returns ``True`` if `user` is the owner of this project.
Returns ``True`` if `user` is the owner of this project.
Returns True if user is the owner of this project .
def is_owner(self, user):
        """
        Returns ``True`` if `user` is the owner of this project.
        """
        return user and user.id == self.owner.id
def is_owner ( self , user ) : return user and user . id == self . owner . id