Not a big deal, but "whether or not" is redundant, you can just use "Checks whether this...".