refactor to isAbsoluteURI, and use .equals()