check for existance of returned reference