implemented method for checking marker content type