Checks to ensure that a number of given objects aren't null