code: def owns_data_key(self, data_key: DataKey) -> bool:
          
          return data_key.key_provider.provider_id in self._allowed_provider_ids
docs: Determine whether the data key is owned by a ``null`` or ``zero`` provider.
  
          :param data_key: Data key to evaluate
          :type data_key: :class:`aws_encryption_sdk.structures.DataKey`,
              :class:`aws_encryption_sdk.structures.RawDataKey`,
              or :class:`aws_encryption_sdk.structures.EncryptedDataKey`
          :returns: Boolean statement of ownership
          :rtype: bool