endsLy: does it end in "ly"?

Given a string, return true if it ends in "ly". Step through endsLy: it first makes sure there are at least 2 characters, then cuts off the last two with substring(len-2) and compares them to "ly" with .equals.