split this up in a variable and then
return (invite == null);