Check if the PKCS#11 attribute represents 'invalid' or 'not found' according to the PKCS#11 spec.
That is, having length of (CK_ULONG)-1.
The attribute to check.
Whether the attribute represents invalid or not.