added example to isAbsoluteUrl method