NodeId and Content ID

Is there any way to tell if a given hash is NodeId or Content Id?