def METHOD_NAME(self):
    """
    Check the security hash
    """
    hash_received = self.cleaned_data["security_hash"]
    expected_hash = self.generate_security_hash(
        content_type=str(self.ct_label),
        object_pk=str(self.target_object.pk),
        timestamp=self.data.get('timestamp', ''),)
    if not constant_time_compare(expected_hash, hash_received):
        raise forms.ValidationError("Security hash check failed.")
    return hash_received