Calling this method for a given class allows an instance of that class to be compared to nil using <=>.