def METHOD_NAME(self):
    if self.buildset:
        return self.getOwnerFromBuildset(self.buildset)
    elif self.buildrequest:
        return self.getOwnerFromBuildRequest(self.buildrequest)
    elif self.build:
        return self.getOwnerFromBuild(self.build)
    return defer.succeed(None)