using the isGet() method