Use the isReference() method