inline IsSpaceNeeded