added example for isRelativeUrl