How do I adapt, the checkLength() method, to accept any instance attributes I pass to it? For example in this context, I can check either first or last, without
checkLength()