BZ-99999 check for null and undefined in isGuid...