code: function(node, method) {
              if (!node) {
                  YAHOO.log('getLastChild failed: invalid node argument', 'error', 'Dom');
                  return null;
              }
              var child = ( Y.Dom._testElement(node.lastChild, method) ) ? node.lastChild : null;
              return child || Y.Dom.getPreviousSiblingBy(node.lastChild, method);
          }
docs: Returns the last HTMLElement child that passes the test method.
  @method getLastChildBy
  @param {HTMLElement} node The HTMLElement to use as the starting point
  @param {Function} method A boolean function used to test children
  that receives the node being tested as its only argument
  @return {Object} HTMLElement or null if not found